You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, Thank you for the nice work. The IF has issue with n_features.
46 def _score_samples(iforest, tree_idx, X):
---> 47 if iforest.n_features_in != X.shape[1]:
48 raise ValueError("Number of features of the model must "
49 "match the input. Model n_features is {0} and "
50 "input n_features is {1}."
51 "".format(iforest.n_features_in, X.shape[1]))
52 return -_compute_chunked_score_samples(iforest, tree_idx, X)
AttributeError: 'IsolationForest' object has no attribute 'n_features_in'
The text was updated successfully, but these errors were encountered:
Hello, Thank you for the nice work. The IF has issue with n_features.
AttributeError: 'IsolationForest' object has no attribute 'n_features_in'
The text was updated successfully, but these errors were encountered: