-
Notifications
You must be signed in to change notification settings - Fork 25
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
[Update] Optimizer visualization improved #345
Conversation
@AidinHamedi, thanks for your awesome work! appreciate it :) review page is so lacky cuz of lots of changes, so leave some reviews here
others look great to me! |
I really appreciate your feedback. Let me address your comments:
|
Lastly, could you please run |
Hope that clarifies everything! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #345 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 111 111
Lines 8891 8891
=========================================
Hits 8891 8891 ☔ View full report in Codecov by Sentry. |
oh, sorry for my typo. it was thanks for the clarification and thank you again for your contribution! |
Problem (Why?)
The original code's output plots were highly unstable and failed to fully demonstrate the optimizers' potential. The visualizations lacked clarity, and the optimization process often produced erratic results, making it difficult to evaluate the true performance of each optimizer. Additionally, the loss system did not account for boundary violations.
Solution (What/How?)
Code Refactoring:
OPTIMIZERS_IGNORE
,OPTIMIZATION_STEPS
) at the top of the script for easier tuning and experimentation.Enhanced Loss System:
Improved Visualization:
Other Changes (Bug Fixes, Small Refactors)
DIFFICULT_RASTRIGIN
toTrue
. This changes theinitial_state
to a harder starting location and introduces noise to the function output.lr
likemomentum
etc...Notes
While the majority of the optimizers now produce clean and stable plots, there are still a few that exhibit instability or unclear behavior. These include:
execute_steps
function modifyingbest_params