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

Logistic regression: Fix penalty argument #6886

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

Conversation

janezd
Copy link
Contributor

@janezd janezd commented Sep 6, 2024

Issue

Fixes #6885.

As of 1.3.2, Scikit used to accept 'none' as penalty. In 1.5.1 it expects None.

I unsuccessfully tried to find where, when and why it changed, but it doesn't really matter, I guess.

Description of changes

Replace 'none' with None.

Includes
  • Code changes
  • Tests

@janezd janezd mentioned this pull request Sep 6, 2024
Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.26%. Comparing base (6c742f7) to head (f9f4e59).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6886      +/-   ##
==========================================
- Coverage   88.26%   88.26%   -0.01%     
==========================================
  Files         326      326              
  Lines       71184    71184              
==========================================
- Hits        62834    62833       -1     
- Misses       8350     8351       +1     

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.

Logistic Regression
2 participants