Skip to content

[Feature] Add Least Angle Regression#421

Merged
relf merged 13 commits intorust-ml:masterfrom
aswin-1111:master
Dec 9, 2025
Merged

[Feature] Add Least Angle Regression#421
relf merged 13 commits intorust-ml:masterfrom
aswin-1111:master

Conversation

@aswin-1111
Copy link
Copy Markdown
Contributor

Implementation of the Least Angle Regression Algorithm

Note: This PR addresses the same feature as #115, which has been inactive.

Hope this implementation meets the library standards. If any further changes are required, feel free to modify it.

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 28, 2025

Codecov Report

❌ Patch coverage is 77.17391% with 63 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.92%. Comparing base (5afd26c) to head (b28824b).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
algorithms/linfa-lars/src/algorithm.rs 82.64% 38 Missing ⚠️
algorithms/linfa-lars/src/lib.rs 27.27% 16 Missing ⚠️
algorithms/linfa-lars/src/hyperparams.rs 74.28% 9 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master     #421    +/-   ##
========================================
  Coverage   76.91%   76.92%            
========================================
  Files         101      104     +3     
  Lines        7045     7321   +276     
========================================
+ Hits         5419     5632   +213     
- Misses       1626     1689    +63     

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Copy Markdown
Member

@relf relf left a comment

Choose a reason for hiding this comment

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

Thank you for this contribution! I find it in pretty good shape, I've just made a first pass mainly wrt the documentation.

Comment thread algorithms/linfa-lars/examples/lars.rs Outdated
Comment thread algorithms/linfa-lars/src/algorithm.rs Outdated
Comment thread algorithms/linfa-lars/src/lib.rs Outdated
Comment thread algorithms/linfa-lars/src/lib.rs Outdated
Comment thread algorithms/linfa-lars/Cargo.toml Outdated
Comment thread algorithms/linfa-lars/src/algorithm.rs Outdated
Comment thread algorithms/linfa-lars/src/algorithm.rs Outdated
Comment thread algorithms/linfa-lars/src/algorithm.rs
Comment thread algorithms/linfa-lars/Cargo.toml Outdated
Comment thread algorithms/linfa-lars/Cargo.toml Outdated
Comment thread algorithms/linfa-lars/Cargo.toml Outdated
Comment thread algorithms/linfa-lars/Cargo.toml
Comment thread algorithms/linfa-lars/src/algorithm.rs Outdated
Comment thread algorithms/linfa-lars/src/algorithm.rs Outdated
Comment thread algorithms/linfa-lars/src/algorithm.rs Outdated
Comment thread algorithms/linfa-lars/src/algorithm.rs Outdated
Comment thread algorithms/linfa-lars/src/algorithm.rs Outdated
Comment thread algorithms/linfa-lars/src/algorithm.rs Outdated
@relf relf merged commit db3cade into rust-ml:master Dec 9, 2025
21 checks passed
@relf
Copy link
Copy Markdown
Member

relf commented Dec 9, 2025

Thank you!

@relf relf mentioned this pull request Dec 10, 2025
4 tasks
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