Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: use notebook-style for plot_stock_market.py - #22461

Merged
lesteve merged 11 commits into
scikit-learn:mainfrom
aditya172926:example_update
Feb 25, 2022
Merged

DOC: use notebook-style for plot_stock_market.py#22461
lesteve merged 11 commits into
scikit-learn:mainfrom
aditya172926:example_update

Conversation

@aditya172926

@aditya172926 aditya172926 commented Feb 12, 2022

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Updates examples/applications/plot_stock_market.py
For Issue Fix notebook-style examples #22406

What does this implement/fix? Explain your changes.

Updated the example plot_stock_market.py to notebook style. Also fixed minor wordings as seemed fit.

Any other comments?

@aditya172926 aditya172926 changed the title fix notebook-style for plot_stock_market DOC FIX notebook-style for plot_stock_market Feb 13, 2022
@glemaitre

Copy link
Copy Markdown
Member

For this example, it would be as well nice to move the section and discussion of the top summary next to the cell of code that implements what is written in the discussion.

In this way, the example will really feel like a real notebook and will be easier to read.

@aditya172926

Copy link
Copy Markdown
Contributor Author

I have done the changes as you said @glemaitre . Have a look.

@glemaitre glemaitre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is improving the example greatly. Only a couple of things to address. I will check a bit more in detail why the GraphicalLassoCV is raising a warning.

Comment thread examples/applications/plot_stock_market.py Outdated
Comment thread examples/applications/plot_stock_market.py
Comment thread examples/applications/plot_stock_market.py Outdated
@lesteve lesteve mentioned this pull request Feb 15, 2022
47 tasks
@aditya172926

Copy link
Copy Markdown
Contributor Author

@glemaitre can you have a look and let me know an update on this PR.

@lesteve lesteve added the Quick Review For PRs that are quick to review label Feb 22, 2022
@lesteve

lesteve commented Feb 25, 2022

Copy link
Copy Markdown
Member

I pushed a commit into your branch tackling #22461 (comment). I think this should get rid of the warning.

About your error, if you want to build from source you should look at: https://scikit-learn.org/stable/developers/advanced_installation.html#building-from-source

@lesteve

lesteve commented Feb 25, 2022

Copy link
Copy Markdown
Member

Looks good, merging, thanks!

@lesteve lesteve changed the title DOC FIX notebook-style for plot_stock_market DOC: use notebook-style for plot_stock_market.py Feb 25, 2022
@lesteve
lesteve merged commit bd10a1b into scikit-learn:main Feb 25, 2022
thomasjpfan pushed a commit to thomasjpfan/scikit-learn that referenced this pull request Feb 26, 2022
thomasjpfan pushed a commit to thomasjpfan/scikit-learn that referenced this pull request Mar 1, 2022
@aditya172926
aditya172926 deleted the example_update branch March 6, 2022 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Quick Review For PRs that are quick to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants