Closed 3mMv closed 4 weeks ago
Sorry about this, sklearn moved indices_to_mask
in a recent version so the best current solution for this is just upgrading sklearn with pip install --upgrade scikit-learn
. We will find a fix for this function in the meantime...
Fixed this in the recent version, let us know if you continue to have any trouble!
I'm using matplotlib==3.8.4 scikit-learn==1.4.0 numpy==1.26.0. When I'm trying to import HSTreeRegressor I get a ImportError:
But if I delete the line
from sklearn.utils._mask import indices_to_mask
from the score.py I solve the problem. I am not an expert in machine learning and coding, so I not sure what indices_to_mask does in the code.