-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[query] Weighted linear regression rows #10632
[query] Weighted linear regression rows #10632
Conversation
sweet! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, though I didn't think very hard about the quality of the IR being generated. I do wonder if it might be worth trying to avoid the multiplications by 1 in the unweighted case, but that could be a future optimization.
// )((accum, v) => accum.concat(v.toS).concat(" ")) | ||
// .concat("] vs [ ") | ||
// )((accum, v) => accum.concat(v.toS).concat(" ")) | ||
// .concat(s"] and operation ${Pretty(body)}")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug
I can remove multiplications by 1 in a subsequent PR. I think not hard and probably not much of a difference. At the moment, the only person using this method will be using it to enable weighted linreg anyway, so not super worried. |
Something is wrong with the |
Reassigning to me since Patrick is OOO this week |
Great, thanks. Should be ready to be reviewed now, the performance is now where I want it to be. (18x faster than aggregators for Caitlin's use case) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! One question.
Also made it so that |
No description provided.