-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC use notebook-style for plot_svm_anova.py #22779
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
Conversation
Thanks for your PR, I edited the title of your PR so that it contains the exemple filename! One of the reason is that we have a script that updates #22406 automatically and that this script relies on the filename being in the PR title. |
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 is quite a minimal example, so I'm happy with the change (usually it's nice to have more explanation at the beginning of each cell, but I'm not sure if this example requires that)
examples/svm/plot_svm_anova.py
Outdated
@@ -20,14 +20,14 @@ | |||
from sklearn.svm import SVC |
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.
Could you please remove this cell and move the imports at the beginning of each cell below: each import should go to the cell it is first needed.
This would make the example nicer by avoiding the wall-of-import effect in the first cell.
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
and move sections to titles.
Merging, thanks a lot! |
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org> Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
#pariswimlds
Reference Issues/PRs
Issue in #22406
What does this implement/fix? Explain your changes.
Minor Doc fix : replacing
# ####
by# %%
Any other comments?