-
Notifications
You must be signed in to change notification settings - Fork 47
Logistic regression updates #329
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
Conversation
| tol, | ||
| w_optimizer_state, | ||
| b_optimizer_state, | ||
| opts |
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.
Btw, when you have too many arguments like this, you can wrap the arguments that don't change (are fixed in the loop) in a map and pass it down. Helps clean up while loops and Elixir signatures!
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 works for tensors as well, right?
Apart from that, CI is failing. I am working on it.
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.
Sorry, I am not sure I understood. 😅
Would having a while loop as {result, state} = while ... where state is a map work? Is this something new in Nx?
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.
Yes, it works. It is quite old i think :)
|
Alright, this was way more work than I thought :) |
|
It is your decision to merge it! I can ship a new version afterwards! |
Alright then, merged. :) |
|
P.S. I am having issues compiling EXLA 0.9.2 on my M1 Mac. Perhaps we should bump the version? |
|
Released (and feel free to bump Nx as well!) |
Changes:
predictandpredict_probaFixes #301