Skip to content

ElasticNetCVLearner: Fix parameter alphas#7294

Open
janezd wants to merge 1 commit into
biolab:masterfrom
janezd:elastic-learner-alphas
Open

ElasticNetCVLearner: Fix parameter alphas#7294
janezd wants to merge 1 commit into
biolab:masterfrom
janezd:elastic-learner-alphas

Conversation

@janezd

@janezd janezd commented Jun 2, 2026

Copy link
Copy Markdown
Contributor
Issue

ElasticNetCVLearner requires int or an array, and no longer accepts None.

Description of changes

Set it to the default value, 100. This duplicates the value of n_alpha, which we need to keep for compatibility

Includes
  • Code changes

@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.02%. Comparing base (441070e) to head (43b5dad).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7294      +/-   ##
==========================================
- Coverage   89.03%   89.02%   -0.01%     
==========================================
  Files         336      336              
  Lines       74433    74433              
==========================================
- Hits        66273    66267       -6     
- Misses       8160     8166       +6     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant