Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: Fix brackets in the RANSACRegressor.score docstring in the file - #34216

Merged
StefanieSenger merged 1 commit into
scikit-learn:mainfrom
TheHashiramaSenju:fix-ransac-docstring-bracket
Jun 8, 2026
Merged

DOC: Fix brackets in the RANSACRegressor.score docstring in the file#34216
StefanieSenger merged 1 commit into
scikit-learn:mainfrom
TheHashiramaSenju:fix-ransac-docstring-bracket

Conversation

@TheHashiramaSenju

Copy link
Copy Markdown
Contributor

While reading through the RANSACRegressor code, I noticed a bracket typo in the
score() method docstring. The parameter does not follow numpy convention

Fixed it from: X : (array-like or sparse matrix}
To: X : {array-like or sparse matrix}

Fixed the docstring

Regards
Jai Bhairav
TheHashiramaSenju

@TheHashiramaSenju

Copy link
Copy Markdown
Contributor Author

Dear Reviewers, Also please let me know if something more needs to be changed

@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.

Very nice, thank you @TheHashiramaSenju.

@StefanieSenger
StefanieSenger merged commit dc54200 into scikit-learn:main Jun 8, 2026
41 checks passed
@TheHashiramaSenju

Copy link
Copy Markdown
Contributor Author

Very nice, thank you @TheHashiramaSenju.

Thanks for the review! Happy to contribute 😄

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