Skip to content

[MRG] Document length_scale_bounds="fixed" in GP kernels #8358#8391

Closed
Neurrone wants to merge 4 commits intoscikit-learn:masterfrom
Neurrone:8358-Document-length_scale_bounds=fixed-in-GP-kernels
Closed

[MRG] Document length_scale_bounds="fixed" in GP kernels #8358#8391
Neurrone wants to merge 4 commits intoscikit-learn:masterfrom
Neurrone:8358-Document-length_scale_bounds=fixed-in-GP-kernels

Conversation

@Neurrone
Copy link
Copy Markdown
Contributor

Reference Issue

Fixes #8358

What does this implement/fix? Explain your changes.

Document length_scale_bounds = "fixed" in GP kernels.

@Neurrone
Copy link
Copy Markdown
Contributor Author

Ready for review. If the wording's OK, will replicate this in the other classes.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 18, 2017

Codecov Report

Merging #8391 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8391   +/-   ##
=======================================
  Coverage   94.75%   94.75%           
=======================================
  Files         342      342           
  Lines       60813    60813           
=======================================
  Hits        57621    57621           
  Misses       3192     3192
Impacted Files Coverage Δ
sklearn/gaussian_process/kernels.py 91.54% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1592160...c34a1f5. Read the comment docs.

@Neurrone
Copy link
Copy Markdown
Contributor Author

@jnothman changes made.

Copy link
Copy Markdown
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

Doesn't the same comment apply to other _bounds
parameters?

length_scale_bounds : pair of floats >= 0, default: (1e-5, 1e5)
The lower and upper bound on length_scale
length_scale_bounds : pair of floats >= 0 or the string "fixed",
default: (1e-5, 1e5)
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 won't appear as part of the type specification, but as part of the description. See http://scikit-learn.org/circle?8956/_changed.html.

Instead do "The lower and upper bound on length_scale (default: (1e-5, 1e5))."

@MechCoder
Copy link
Copy Markdown
Member

lgtm pending @jnothman's comments.

@amueller
Copy link
Copy Markdown
Member

@Neurrone are you still working on this?

@Neurrone
Copy link
Copy Markdown
Contributor Author

@amueller sorry, no.

@Neurrone Neurrone closed this May 23, 2018
@amueller
Copy link
Copy Markdown
Member

Thanks for the update we'll open up for contributions!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document length_scale_bounds="fixed" in GP kernels.

5 participants