diff --git a/src/skmultiflow/trees/lc_hoeffding_tree.py b/src/skmultiflow/trees/lc_hoeffding_tree.py index 693835890..3f38b0dea 100644 --- a/src/skmultiflow/trees/lc_hoeffding_tree.py +++ b/src/skmultiflow/trees/lc_hoeffding_tree.py @@ -104,6 +104,9 @@ def n_labels(self, n_labels): raise ValueError('The number of labels must be specified') self._n_labels = n_labels + def partial_fit(self, X, y, classes=None, weight=None): + super().partial_fit(X, y, weight=weight) # Override HT, infer the classes + class LCActiveLearningNode(HoeffdingTree.ActiveLearningNode): def __init__(self, initial_class_observations):