New Contributor
since ‎2008.08.26
‎2021.06.14

## User Statistics

• 63 Posts
• 0 Solutions
• 0 Kudos given

## .Q.p function - what inputs?

Hello q folks, I was looking at the function definition for .Q.p, after seeing its usage in the billion taxi ride benchmark. k){\$[~#D;p2[x;`:.]':y;(,/p2[x]'/':P[i](;)'y)@&lt;,/y@:i:&amp;0&lt;#:'y:D{x@&amp;x in y}\:y]} - what inputs would this function take, as x a...

## Underscore in variable names inside k4.

Dear q (and k4) folks, I was writing some code in k4(oh, the joy!) and was having trouble using variables with "_" in them. I can avoid this in my code, but when I use the embedPy module, some names imposed by python(e.g: fit_transform) signal errors...

## Amend call, to pass list.

Why does this fail ?q)g:10#();q)@[g;1 3 5;:;(1 2)#(100;100)]'length [0] @[g;1 3 5;:;(1 2)#(100;100)]And how does this succeed?q)@[g;1 3 5;:;3#(1 2)#(100;100)]()100 100()100 100()100 100()()()()Thanks, Kumar

## EmbedPy examples - ML and AI code.

Hi q folks, Happy Holidays to you ! I've written some embedPy examples, using real-world Kaggle data, at https://github.com/krish240574/embedPyMLAI - do take a look. The relevant examples are :2sigma_regression.q - running linear regression(using skl...

## Higher-order arrays in q.

Why is q)(5 3 3)#1 displayed as follows?q)(5 3 3)#11 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1Shouldn't it be as follows ?1 1 11 1 11 1 1 1 1 11 1 11 1 1 1 1 11 1 11 1 1 1 1 11 1 11 1 1 1 1 11 1 11 1 1How doe...