Category : mondrian

As per the guide (https://scikit-garden.github.io/api/), partial_fit method is available for MondrianForestClassifier MondrianForestClassifier.partial_fit(X, y, classes=None) In google colab, I did the following, !pip install scikit-garden from skgarden import MondrianForestClassifier mfc = MondrianForestClassifier() for i in range(10): subset = slice(round(4596729*i),round(4596729*(i+1))) mfc.partial_fit(X_set[subset], y_set[subset], classes=np.unique(y_data)) while running the above cell, I get the following error, AttributeError: ‘MondrianForestClassifier’ object has ..

Read more