Closed vsahil closed 3 years ago
This is solved in the latest version (0.2.7-2). pip install -U --no-cache isotree
.
Actually this is a different issue, will fix, but in the meantime, if you pass it as a list of non-numpy integers it should work.
It actually doesn't, it seems to be an issue with NumPy>=1.18: https://github.com/numpy/numpy/issues/19069
Works in older NumPy versions though.
Fixed version now uploaded to PyPI.
Thank you David. I had a quick question, what is the difference in treatment of categorical vs numerical features in the isolation forests?
Same as in other decision tree software. You can check the docs and the reference papers for more details.
Hello David,
I am facing another issue when I am trying to save a trained iso forest with
categ_cols
not None. When I do not provide any categorical column numbers (when its None), the model is saved, but when this is not the case, I get this error: