8000 DOC add link to plot_gpr_noisy_targets example in _gpr.py by emma-carballal · Pull Request #30850 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC add link to plot_gpr_noisy_targets example in _gpr.py #30850

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

Merged
merged 4 commits into from
Feb 19, 2025

Conversation

emma-carballal
Copy link
Contributor
@emma-carballal emma-carballal commented Feb 18, 2025

Reference Issues/PRs

Towards #30621

What does this implement/fix? Explain your changes.

@StefanieSenger This is a first contribution in preparation for the PyLadies scikit-learn contribution sprint, and I selected this issue as a good-first-issue to improve documentation.

This PR adds a link to example plot_gpr_noisy_targets.py (Gaussian Proc 8000 esses regression: basic introductory example) in the docstring of the parameter alpha of the GaussianProcessRegressor class in scikit-learn/sklearn/gaussian_process/_gpr.py
The example uses alpha=noise_std**2 to handle noisy targets, illustrating its application.

Any other comments?

I've checked a test build of the documentation to make sure it renders correctly.
This example is already linked in the Examples section of 1.7.1. Gaussian Process Regression of the User Guide.

Copy link
github-actions bot commented Feb 18, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 8756c76. Link to the linter CI: here

Copy link
Contributor
@StefanieSenger StefanieSenger left a comment

Choose a reason for hiding this comment

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

That looks very good. Thank you @emma-carballal!

Just a little nit.

The failing checks are due to failing http requests and should vanish once the CI is triggered again with the push to add the dot.

@StefanieSenger
Copy link
Contributor

I think this is ready to merge. Would you have a look @adrinjalali or @marenwestermann?

@adrinjalali adrinjalali merged commit 6a2472f into scikit-learn:main Feb 19, 2025
33 checks passed
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.

3 participants
0