Skip to content

Conversation

zhaofeng-shu33
Copy link
Contributor

Reference Issues/PRs

What does this implement/fix? Explain your changes.

fix example class reference error

Any other comments?

@@ -1821,7 +1821,7 @@ class RationalQuadratic(StationaryKernelMixin, NormalizedKernelMixin, Kernel):
--------
>>> from sklearn.datasets import load_iris
>>> from sklearn.gaussian_process import GaussianProcessClassifier
>>> from sklearn.gaussian_process.kernels import Matern
>>> from sklearn.gaussian_process.kernels import RationalQuadratic
Copy link
Member

Choose a reason for hiding this comment

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

I don't really get how the CI did not catch this issue.

Copy link
Member

Choose a reason for hiding this comment

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

Everything that is imported in the module is available in the test, Python doc reference.

Opened #21186 to actually check the examples correctly in tests.

@glemaitre glemaitre merged commit 20d5eaf into scikit-learn:main Sep 27, 2021
@glemaitre
Copy link
Member

Thanks @zhaofeng-shu33

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