feat(linear): add native multi-output matrix support to LinearRegression - #433
feat(linear): add native multi-output matrix support to LinearRegression#433mi7plus wants to merge 3 commits into
Conversation
|
thank you. i will look into this asap |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## development #433 +/- ##
================================================
+ Coverage 45.59% 63.85% +18.25%
================================================
Files 93 95 +2
Lines 8034 8166 +132
================================================
+ Hits 3663 5214 +1551
+ Misses 4371 2952 -1419 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
|
🔴 Breaking API Changes
🟡 Design / Correctness
🟡 Test Coverage Gaps
|
f5069ea to
2635d3c
Compare
|
Thanks for the detailed feedback! I have updated the branch with the requested fixes and adjustments:
Please let me know if any further tweaks are needed! |
✅ Resolved from Previous Round
🔴 Remaining: Struct-Level
|
Fixes #432
Checklist
Current behaviour
LinearRegressionstruct and related generic methods contain unused type parameters (TX), triggering compiler warning/errorE0392.predict_matrixperforms operations directly on reference types (&TX + &TX), resulting in compiler errorE0369.New expected behaviour
PhantomDatamarker fields for unused type parameters to satisfyE0392without breaking API compatibility.predict_matrixby dereferencing values (*current + *bias), resolvingE0369.cargo clippywarnings and full test coverage for multi-output matrix operations.Change logs
Added
multi_output_ols_fit_predictverifying multi-output matrix fit and prediction operations.Changed
PhantomDatafields toLinearRegressionstruct definition and initializations.predict_matrixelement addition logic to use dereferenced scalar values.