Skip to content
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

Support alpha=0 in Ridge #6236

Open
wants to merge 1 commit into
base: branch-25.02
Choose a base branch
from

Conversation

jcrist
Copy link
Member

@jcrist jcrist commented Jan 17, 2025

When alpha = 0, Ridge is equivalent to a LinearRegression. Previously we checked if alpha was positive, scikit-learn instead requires that alpha is non-negative. This updates the check and adds a test.

When `alpha = 0`, `Ridge` is equivalent to a `LinearRegression`.
Previously we checked if alpha was positive, scikit-learn instead
requires that alpha is non-negative. This updates the check and adds a
test.
@jcrist jcrist requested a review from a team as a code owner January 17, 2025 23:28
@jcrist jcrist requested review from betatim and vyasr January 17, 2025 23:28
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Jan 17, 2025
@jcrist jcrist added feature request New feature or request non-breaking Non-breaking change labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cython / Python Cython or Python issue feature request New feature or request non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant