Skip to content
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

Merged
merged 5 commits into from
Jul 12, 2021
Merged

updated store.ipynb. #699

merged 5 commits into from
Jul 12, 2021

Conversation

PaulJonasJost
Copy link
Collaborator

Included HDF5 history and updated saving of results.

@codecov-commenter
Copy link

codecov-commenter commented Jul 9, 2021

Codecov Report

Merging #699 (05adda2) into develop (610893c) will decrease coverage by 0.16%.
The diff coverage is n/a.

Impacted file tree graph

@@             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     
Impacted Files Coverage Δ
pypesto/objective/amici_util.py 75.43% <0.00%> (-8.78%) ⬇️
pypesto/engine/multi_process.py 92.59% <0.00%> (-7.41%) ⬇️
pypesto/objective/amici_calculator.py 91.66% <0.00%> (-1.67%) ⬇️
pypesto/sample/geweke_test.py 94.36% <0.00%> (+2.81%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 610893c...05adda2. Read the comment docs.

Copy link
Member

@dilpath dilpath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

doc/example/store.ipynb Outdated Show resolved Hide resolved
doc/example/store.ipynb Outdated Show resolved Hide resolved
doc/example/store.ipynb Outdated Show resolved Hide resolved
Comment on lines +562 to +563
"WARNING: You are loading a problem.\n",
"This problem is not to be used without a separately created objective.\n",
Copy link
Member

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

Copy link
Collaborator Author

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.

Comment on lines 334 to 348
"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"
Copy link
Member

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.

PaulJonasJost and others added 3 commits July 9, 2021 16:00
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
@PaulJonasJost PaulJonasJost merged commit c2cb6db into develop Jul 12, 2021
@PaulJonasJost PaulJonasJost deleted the update_store_ipynb branch July 12, 2021 07:37
@yannikschaelte yannikschaelte mentioned this pull request Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants