Skip to content

feat: add offset support to binary logistic regression, #431 - #435

Merged
quietlychris merged 2 commits into
rust-ml:masterfrom
espenloov:feature/logistic-offset
Aug 22, 2026
Merged

feat: add offset support to binary logistic regression, #431#435
quietlychris merged 2 commits into
rust-ml:masterfrom
espenloov:feature/logistic-offset

Conversation

@espenloov

Copy link
Copy Markdown
Contributor

#431

Adds an optional offset parameter (standard None) to logistic regression, not learned.

@codecov

codecov Bot commented Mar 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.42857% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 77.93%. Comparing base (070c028) to head (24bbfd8).

Files with missing lines Patch % Lines
algorithms/linfa-logistic/src/hyperparams.rs 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #435      +/-   ##
==========================================
+ Coverage   77.90%   77.93%   +0.03%     
==========================================
  Files         104      104              
  Lines        7523     7547      +24     
==========================================
+ Hits         5861     5882      +21     
- Misses       1662     1665       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@quietlychris
quietlychris merged commit 3b411a4 into rust-ml:master Aug 22, 2026
22 checks passed
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.

2 participants