-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC: use notebook-style for plot_svm_regression.py example #22534
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
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.
Can you make the comments into titles by using ---
(of the right length)? I made a suggestion for the first one if you can handle the others in a similar way this would be great!
@@ -11,22 +11,22 @@ | |||
from sklearn.svm import SVR | |||
import matplotlib.pyplot as plt | |||
|
|||
# ############################################################################# | |||
# %% | |||
# Generate sample data |
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.
# Generate sample data | |
# Generate sample data | |
# -------------------- |
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.
No worries. Done.
I reopened this PR and pushed some tweaks. Pieces of advice:
|
Thank you so much for the advice. I'm new to open source contribution and this is my first project. I'll keep these things in mind for next time. |
Merging, thanks a lot! |
…arn#22534) Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Fixed the html rendering issue on the website for this example as per the instructions given.
Part of #22406