-
Notifications
You must be signed in to change notification settings - Fork 47
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
updated store.ipynb. #699
updated store.ipynb. #699
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #699 +/- ##
===========================================
- Coverage 90.08% 89.91% -0.17%
===========================================
Files 96 96
Lines 6513 6513
===========================================
- Hits 5867 5856 -11
- Misses 646 657 +11
Continue to review full report at Codecov.
|
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.
👍
"WARNING: You are loading a problem.\n", | ||
"This problem is not to be used without a separately created objective.\n", |
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 this still correct or fixed in develop
? #669
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.
it is still correct, as we do not save the objective but rather just information of the objective.
doc/example/store.ipynb
Outdated
"print(\"History type: \", type(result.optimize_result.list[0].history))\n", | ||
"# print(\"Function value trace of best run: \", result.optimize_result.list[0].history.get_fval_trace())\n", | ||
"\n", | ||
"fig, ax = plt.subplots(1, 2)\n", | ||
"visualize.waterfall(result, ax=ax[0])\n", | ||
"visualize.optimizer_history(result, ax=ax[1])\n", | ||
"fig.set_size_inches((15, 5))" | ||
], | ||
"execution_count": 7, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"History type: <class 'pypesto.objective.history.CsvHistory'>\n" |
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 cell is identical to the previous cell? History type in the output is also CsvHistory
.
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
Included HDF5 history and updated saving of results.