Commit a9a2c5f
authored
Fix sklearn tree importances retrieval bug (#376)
When obtaining the tree feature kpis we access the JSON report path
`treePreparationReport.variablesStatistics`. If there are informative
variables but no informative tree `variablesStatistics` is not defined.
We didn't check that and it lead to a bug in this rare case.1 parent 82ee065 commit a9a2c5f
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1435 | 1435 | | |
1436 | 1436 | | |
1437 | 1437 | | |
1438 | | - | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
1439 | 1443 | | |
1440 | 1444 | | |
1441 | 1445 | | |
| |||
0 commit comments