Closed AsafManela closed 5 years ago
Totals | |
---|---|
Change from base Build 161: | 0.2% |
Covered Lines: | 545 |
Relevant Lines: | 615 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/segselect.jl | 10 | 11 | 90.91% | ||
<!-- | Total: | 11 | 12 | 91.67% | --> |
Totals | |
---|---|
Change from base Build 161: | 0.1% |
Covered Lines: | 549 |
Relevant Lines: | 620 |
Previously the StatsModels.DataFramesRegressionModel was incompatible with Lasso.jl's using a keyword argument for the intercept, so
fit(LassoPath, formula(Y~X), df)
did not work properly.fit(LassoModel, @formula(Y~X), df; select=MinAIC())
did not work at all.This PR fixes that issue and adds tests for both.