-
Notifications
You must be signed in to change notification settings - Fork 162
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
fix x_o and broken link tutorial 7 #1003
Conversation
Thanks @Matthijspals! Are you OK with the license change from AGPLv3 to Apache-2.0, see #997? |
yes! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1003 +/- ##
=======================================
Coverage 76.37% 76.37%
=======================================
Files 84 84
Lines 6507 6507
=======================================
Hits 4970 4970
Misses 1537 1537
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@Matthijspals Would you mind correcting the typo in the heading? "mechansims" --> "mechanisms" |
updated! |
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.
thanks!
nitpick: Can you please add a ;
after the plotting call in the last cell to avoid the figure output 🤓
Done! |
* fix x_o and broken link tutorial 7 * typo in title * suppress plotting output --------- Co-authored-by: Matthijs <matthijs@example.com>
* fix x_o and broken link tutorial 7 * typo in title * suppress plotting output --------- Co-authored-by: Matthijs <matthijs@example.com>
* update zuko to 1.1.0 * test zuko_gmm commit * build_zuko_nsf added * add build_zuko_naf, update test * add license change to pr template. * CLN pyproject.toml (#1009) * CLN pyproject.toml * CLN optional deps comment * CLN alphabetical order * fix x_o and broken link tutorial 7 (#1003) * fix x_o and broken link tutorial 7 * typo in title * suppress plotting output --------- Co-authored-by: Matthijs <matthijs@example.com> * replace prepare_for_sbi in tutorials (#1013) * add zuko density estimators * not working gmm * update tests for PR * update PR for pyright * resolve pyright * add reportArgumentType * resolve pyright issue * resolve all issues pyright * resolve pyright * add typing and docstring * add functions from factory to test * remove comment mdn file * add docstrings flow file * add docstring in density_estimator_test.py * Update sbi/neural_nets/flow.py Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * Update sbi/neural_nets/flow.py Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * Update sbi/neural_nets/flow.py Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * removed pyright --------- Co-authored-by: bkmi <12955549+bkmi@users.noreply.github.com> Co-authored-by: Nastya Krouglova <nastyakrouglova@Nastyas-MacBook-Pro.local> Co-authored-by: Jan Boelts <jan.boelts@mailbox.org> Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com> Co-authored-by: Matthijs Pals <34062419+Matthijspals@users.noreply.github.com> Co-authored-by: Matthijs <matthijs@example.com> Co-authored-by: zinaStef <49067201+zinaStef@users.noreply.github.com> Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de>
* update zuko to 1.1.0 * test zuko_gmm commit * build_zuko_nsf added * add build_zuko_naf, update test * add license change to pr template. * CLN pyproject.toml (#1009) * CLN pyproject.toml * CLN optional deps comment * CLN alphabetical order * fix x_o and broken link tutorial 7 (#1003) * fix x_o and broken link tutorial 7 * typo in title * suppress plotting output --------- Co-authored-by: Matthijs <matthijs@example.com> * replace prepare_for_sbi in tutorials (#1013) * add zuko density estimators * not working gmm * update tests for PR * update PR for pyright * resolve pyright * add reportArgumentType * resolve pyright issue * resolve all issues pyright * resolve pyright * add typing and docstring * add functions from factory to test * remove comment mdn file * add docstrings flow file * add docstring in density_estimator_test.py * Update sbi/neural_nets/flow.py Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * Update sbi/neural_nets/flow.py Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * Update sbi/neural_nets/flow.py Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * removed pyright --------- Co-authored-by: bkmi <12955549+bkmi@users.noreply.github.com> Co-authored-by: Nastya Krouglova <nastyakrouglova@Nastyas-MacBook-Pro.local> Co-authored-by: Jan Boelts <jan.boelts@mailbox.org> Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com> Co-authored-by: Matthijs Pals <34062419+Matthijspals@users.noreply.github.com> Co-authored-by: Matthijs <matthijs@example.com> Co-authored-by: zinaStef <49067201+zinaStef@users.noreply.github.com> Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de>
* Zuko density estimators (#1088) * update zuko to 1.1.0 * test zuko_gmm commit * build_zuko_nsf added * add build_zuko_naf, update test * add license change to pr template. * CLN pyproject.toml (#1009) * CLN pyproject.toml * CLN optional deps comment * CLN alphabetical order * fix x_o and broken link tutorial 7 (#1003) * fix x_o and broken link tutorial 7 * typo in title * suppress plotting output --------- Co-authored-by: Matthijs <matthijs@example.com> * replace prepare_for_sbi in tutorials (#1013) * add zuko density estimators * not working gmm * update tests for PR * update PR for pyright * resolve pyright * add reportArgumentType * resolve pyright issue * resolve all issues pyright * resolve pyright * add typing and docstring * add functions from factory to test * remove comment mdn file * add docstrings flow file * add docstring in density_estimator_test.py * Update sbi/neural_nets/flow.py Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * Update sbi/neural_nets/flow.py Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * Update sbi/neural_nets/flow.py Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * removed pyright --------- Co-authored-by: bkmi <12955549+bkmi@users.noreply.github.com> Co-authored-by: Nastya Krouglova <nastyakrouglova@Nastyas-MacBook-Pro.local> Co-authored-by: Jan Boelts <jan.boelts@mailbox.org> Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com> Co-authored-by: Matthijs Pals <34062419+Matthijspals@users.noreply.github.com> Co-authored-by: Matthijs <matthijs@example.com> Co-authored-by: zinaStef <49067201+zinaStef@users.noreply.github.com> Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> * merge * hate * merge * merge * merge * merge * MERGE * remove cnf * implement changes Jan * Update sbi/neural_nets/factory.py Co-authored-by: Jan <janfb@users.noreply.github.com> * resolve issues Jan * undo changes to tutorials folder. * sort dependencies. --------- Co-authored-by: bkmi <12955549+bkmi@users.noreply.github.com> Co-authored-by: Nastya Krouglova <nastyakrouglova@Nastyas-MacBook-Pro.local> Co-authored-by: Jan Boelts <jan.boelts@mailbox.org> Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com> Co-authored-by: Matthijs Pals <34062419+Matthijspals@users.noreply.github.com> Co-authored-by: Matthijs <matthijs@example.com> Co-authored-by: zinaStef <49067201+zinaStef@users.noreply.github.com> Co-authored-by: Sebastian Bischoff <sebastian@salzreute.de> Co-authored-by: Jan <janfb@users.noreply.github.com>
What does this implement/fix? Explain your changes
Tutorial 7, x_o needed to be redefined as a 4 dimensional vector for the second example. Additionally the link to the sampling tutorial was broken and is now updated.
Does this close any currently open issues?
Fixes #1000
Any relevant code examples, logs, error output, etc?
Tutorial 7 now runs from start to finish
Checklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.
guidelines
guidelines
main
(or there are no conflicts withmain
)