Closed AnotherSamWilson closed 2 years ago
Thanks again for the bug report. There is an issue in the code calculations with some numbers turning into infinite so in the meantime better not use fit_transform
.
Should be fixed now in the latest version:
pip install -U isotree
And by the way, the imputation is meant to be used alongside with prob_pick_pooled_gain
- chances are that results wouldn't be very good otherwise.
See this example:
Using any number of trees over 100 caused only the first class (0) to ever be imputed. Using only 10 trees usually makes the imputation much more accurate. I tried playing around with different max_depths, but to no avail. Are there any obvious parameters I am missing to make the categorical imputation more accurate?