Skip to content

DOC FIX coef0 type in PolynomialCountSketch class docstring - #34213

Merged
StefanieSenger merged 1 commit into
scikit-learn:mainfrom
GaetandeCast:PolynomialCountSketch_docstring
Jun 8, 2026
Merged

StefanieSenger merged 1 commit into
scikit-learn:mainfrom
GaetandeCast:PolynomialCountSketch_docstring

Conversation

@GaetandeCast

Copy link
Copy Markdown
Contributor

What does this implement/fix? Explain your changes.

In the class docstring of PolynomialCountSketch, the type of the coef0 parameter is incorrect: it is stated as being an int while the _parameter_constraints ensure it is a float.

This PR corrects this.

AI usage disclosure

I used AI assistance for:
Nothing

Any other comments?

Found while working with @ogrisel.

@StefanieSenger StefanieSenger left a comment

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.

Good catch, thank you @GaetandeCast.

@StefanieSenger StefanieSenger changed the title FIX coef0 type in PolynomialCountSketch class docstring DOC FIX coef0 type in PolynomialCountSketch class docstring Jun 8, 2026
@StefanieSenger
StefanieSenger merged commit e39ac6d into scikit-learn:main Jun 8, 2026
37 checks passed
@GaetandeCast
GaetandeCast deleted the PolynomialCountSketch_docstring branch June 9, 2026 07:45
prady0t pushed a commit to prady0t/scikit-learn that referenced this pull request Sep 2, 2026
@jeremiedbb jeremiedbb mentioned this pull request Sep 8, 2026
14 tasks done
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