-
Notifications
You must be signed in to change notification settings - Fork 33
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 notebooks #212
Fix notebooks #212
Conversation
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.
LGTM! I have reproduced the output on my laptop, which is good.
I have a couple of questions. Unfortunately, I cannot comment on diff.
env = LineEnvironment(
- mus=[-2, 4, 6, 10],
+ mus=[-3, 4, 6, 10],
variances=[0.2, 0.4, 1, 0.2],
n_sd=4.5,
init_value=0
)
What is the rationale for this change (cell 16, continuous line tutorial)?
-def make_States_class(self) -> type[DiscreteStates]:
- ...
+# def make_States_class(self) -> type[DiscreteStates]:
+# ...
In the smiley tutorial, you commented out this function, as it is not necessary... can we just delete it?
Good catch. I'm not sure why, but leaving the value at -2 created a
plotting error. I couldn't figure out how to fix the plotting error and the
number itself is inconsequential.
I'll remove the commented out bits.
Joseph Viviano
@josephdviviano <https://twitter.com/josephdviviano>
viviano.ca
…On Sat, Nov 9, 2024 at 6:37 AM Omar Younis ***@***.***> wrote:
***@***.**** commented on this pull request.
LGTM! I have reproduced the output on my laptop, which is good.
I have a couple of questions. Unfortunately, I cannot comment on diff
<https://github.blog/changelog/2023-03-01-feature-preview-rich-jupyter-notebook-diffs/>
.
env = LineEnvironment(- mus=[-2, 4, 6, 10],+ mus=[-3, 4, 6, 10],
variances=[0.2, 0.4, 1, 0.2],
n_sd=4.5,
init_value=0
)
What is the rationale for this change (cell 16, continuous line tutorial)?
-def make_States_class(self) -> type[DiscreteStates]:- ...+# def make_States_class(self) -> type[DiscreteStates]:+# ...
In the smiley tutorial, you commented out this function, as it is not necessary... can we just delete it?
—
Reply to this email directly, view it on GitHub
<#212 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7TL2WTHLP46A7OBPCKXY3Z7XXZJAVCNFSM6AAAAABROORYOOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMRVGI4TOMZTGI>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
I reproduced the output on colab, which is good. A few Suggestion: |
Thanks good catch @alip67 RE: |
Fixes the smiley and simple continuous notebook to properly use the current
torchgfn
API.