Open barankarakus opened 4 years ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/segselect.jl | 1 | 89.23% | ||
src/coordinate_descent.jl | 3 | 93.63% | ||
src/Lasso.jl | 3 | 88.05% | ||
<!-- | Total: | 7 | --> |
Totals | |
---|---|
Change from base Build 198: | 6.6% |
Covered Lines: | 885 |
Relevant Lines: | 972 |
Added tests (and some more minor changes). Let me know if anything else needs done!
Fixes #51.
Two changes: 1) Change to computeλ to ensure λmax = 0 leads to an output of [0] and not [NaN, ..., NaN]. 2) Change to fit! to ensure the case where autoλ = true and λmax = 0 is handled correctly (rather than throwing an error).