-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add wrappers for pyensmallen #566
base: main
Are you sure you want to change the base?
Add wrappers for pyensmallen #566
Conversation
Codecov ReportAttention: Patch coverage is
🚀 New features to boost your workflow:
|
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.
Hi @gauravmanmode, thanks for your PR. I made a few comments but this is definitely going into the right direction.
x=raw, # only best x is available | ||
fun=problem.fun(raw), # best f(x) value is not available |
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.
Is there a chance to get more infos (like an iteration counter, etc.) out of the pyensmallen results object? It would also be good to get the optimal function value out of pyensmallen instead of doing an extra function evaluation on top here.
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.
currently, the python wrapper for ensmallen is very minimalistic. the result object is just the best x value. it is possible to get a more detailed report by passing a Report() callback function but it is not implemented in the wrapper yet.
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.
Ok. This is something we'll need to address before we can merge.
Hi @gauravmanmode, @timmens and I quickly looked into the failures on GitHub actions and found the following:
|
Hey! After a quick discussion with Janos we came to the conclusion that it is easiest if you solve the environment problem by
If you have any questions or need help, feel free to ask; @janosg will be happy to help! |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
06f155a
to
9211c60
Compare
I have done the above said changes. This is the alignment of tuning parameters for: ensmallen_lbfgs
I have attached a jupyter notebook which i used for testing and exploring the library. |
Hi @gauravmanmode, thanks for the table. The names are really good. The only thing I would change is |
hi, |
This PR addresses issue #551 .
added lbfgs barebone