Closed Mottl closed 4 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
lgensemble_io.go | 9 | 16 | 56.25% | ||
<!-- | Total: | 9 | 16 | 56.25% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
lgensemble_io.go | 2 | 71.67% | ||
<!-- | Total: | 2 | --> |
Totals | |
---|---|
Change from base Build 152: | 1.3% |
Covered Lines: | 1673 |
Relevant Lines: | 2391 |
Is this pr about to merge? I am currently using this repo to load trained lightgbm model bu got stuck wit error: "unexpected objective field: 'regression'". Hope this pr can fix this error
Is this pr about to merge? I am currently using this repo to load trained lightgbm model but got stuck wit error: "unexpected objective field: 'regression'". Hope this pr can fix this error
Yes, it will fix this
@Mottl , thanks for PR! Sorry for delay, Now I'm about to merge it.
@dmitryikh, could you also merge #70?
This patch fixes the behaviour of
LGEnsembleFromFile
function. If a regression model is loaded thenloadTransformation
parameter will be autoset to false.