Skip to content

DOC Use effective value for max_iter in BayesianRidge and ARDRegression#28476

Merged
jeremiedbb merged 1 commit intoscikit-learn:mainfrom
lucyleeow:bayes_default
Feb 20, 2024
Merged

DOC Use effective value for max_iter in BayesianRidge and ARDRegression#28476
jeremiedbb merged 1 commit intoscikit-learn:mainfrom
lucyleeow:bayes_default

Conversation

@lucyleeow
Copy link
Copy Markdown
Member

Reference Issues/PRs

Noticed in: #28471 (comment)

What does this implement/fix? Explain your changes.

Use effective value for max_iter, instead of None then explaining that None effectively means 300. This is done elsewhere #28471 (comment)

Any other comments?

cc @betatim

@lucyleeow lucyleeow changed the title DOC Use effective value for max_iter in docstring DOC Use effective value for max_iter in BayesianRidge and ARDRegression Feb 20, 2024
@lucyleeow lucyleeow added the Quick Review For PRs that are quick to review label Feb 20, 2024
@github-actions
Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 2a54c5b. Link to the linter CI: here

Copy link
Copy Markdown
Member

@betatim betatim left a comment

Choose a reason for hiding this comment

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

Fine for me. Let's see if someone else has opinions (that go the other way)

Copy link
Copy Markdown
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

LGTM since None is just there for the duration of the deprecation of n_iter.

@jeremiedbb jeremiedbb merged commit ec0ca96 into scikit-learn:main Feb 20, 2024
@lucyleeow lucyleeow deleted the bayes_default branch February 21, 2024 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants