Skip to content

DOC Ensures that graphical_lasso passes numpydoc validation#22326

Merged
thomasjpfan merged 3 commits intoscikit-learn:mainfrom
Diwakar-Gupta:main
Jan 29, 2022
Merged

DOC Ensures that graphical_lasso passes numpydoc validation#22326
thomasjpfan merged 3 commits intoscikit-learn:mainfrom
Diwakar-Gupta:main

Conversation

@Diwakar-Gupta
Copy link
Copy Markdown
Contributor

@Diwakar-Gupta Diwakar-Gupta commented Jan 28, 2022

Reference Issues/PRs

Addresses #21350

What does this implement/fix? Explain your changes.

Wrote missing description of GraphicalLasso and GraphicalLassoCV in sklearn.covariance.graphical_lasso.

Any other comments?

Description of GraphicalLasso is wrong in sklearn.covariance.GraphicalLassoCV.
Have already raised issue at Addresses #22325

Copy link
Copy Markdown
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @Diwakar-Gupta ! LGTM

@thomasjpfan thomasjpfan merged commit 33d6c96 into scikit-learn:main Jan 29, 2022
@Diwakar-Gupta
Copy link
Copy Markdown
Contributor Author

Thank u, and it was fun to fix this.

@Diwakar-Gupta
Copy link
Copy Markdown
Contributor Author

@thomasjpfan I want your review on this, I found that in Naive Bayes algo there is no implementation for handling categorical and numerical features both, insteed we have multinomial for categorical only and Gaussian when all the features are gaussian distribution. So I thought to implement a class that can handle both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants