-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Docstring for Gaussian Process Kernels: some mistakes #8553
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
Labels
Easy
Well-defined and straightforward way to resolve
Comments
Nice catch. You are right, thanks! |
@fafadada if you are interested to resolve this issue, go ahead. Otherwise I can raise a PR. |
Thanks for this issue! |
MechCoder
pushed a commit
that referenced
this issue
Mar 13, 2017
Correct the Rational quadratic kernel and ExpSineSquare kernel formulas. Issue: #8553
Closed
herilalaina
pushed a commit
to herilalaina/scikit-learn
that referenced
this issue
Mar 26, 2017
Correct the Rational quadratic kernel and ExpSineSquare kernel formulas. Issue: scikit-learn#8553
massich
pushed a commit
to massich/scikit-learn
that referenced
this issue
Apr 26, 2017
Correct the Rational quadratic kernel and ExpSineSquare kernel formulas. Issue: scikit-learn#8553
Sundrique
pushed a commit
to Sundrique/scikit-learn
that referenced
this issue
Jun 14, 2017
Correct the Rational quadratic kernel and ExpSineSquare kernel formulas. Issue: scikit-learn#8553
NelleV
pushed a commit
to NelleV/scikit-learn
that referenced
this issue
Aug 11, 2017
Correct the Rational quadratic kernel and ExpSineSquare kernel formulas. Issue: scikit-learn#8553
paulha
pushed a commit
to paulha/scikit-learn
that referenced
this issue
Aug 19, 2017
Correct the Rational quadratic kernel and ExpSineSquare kernel formulas. Issue: scikit-learn#8553
maskani-moh
pushed a commit
to maskani-moh/scikit-learn
that referenced
this issue
Nov 15, 2017
Correct the Rational quadratic kernel and ExpSineSquare kernel formulas. Issue: scikit-learn#8553
jwjohnson314
pushed a commit
to jwjohnson314/scikit-learn
that referenced
this issue
Dec 18, 2017
Correct the Rational quadratic kernel and ExpSineSquare kernel formulas. Issue: scikit-learn#8553
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The docstring explanation about some kernels contradicts the implementation:
Rational quadratic kernel: in the introduction page http://scikit-learn.org/stable/modules/gaussian_process.html#gp-kernels, the power is "alpha", but in the implementation, it is -1*alpha. (see line 1470).
"ExpSineSquare" kernel: in the docstring (http://scikit-learn.org/stable/modules/gaussian_process.html#gp-kernels) the positions of parameter "l" and power of 2 are wrong. It should be "exp(-2(sin(pi/p *d(x_i,x_j))/l)^2)", rather than "exp(-2sin(pi/p *d(x_i,x_j))/l)^2".
The text was updated successfully, but these errors were encountered: