Skip to content

Commit

Permalink
Expand tree.ExtremelyFastDecisionTree documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
smastelini authored Oct 4, 2023
1 parent 7a5709d commit 6111c48
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions river/tree/extremely_fast_decision_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,20 @@


class ExtremelyFastDecisionTreeClassifier(HoeffdingTreeClassifier):
"""Extremely Fast Decision Tree classifier.
Also referred to as Hoeffding AnyTime Tree (HATT) classifier.
"""Extremely Fast Decision Tree (EFDT) classifier.
Also referred to as the Hoeffding AnyTime Tree (HATT) classifier. In practice,
despite the name, EFDTs are typically slower than a vanilla Hoeffding Tree
to process data. The speed differences come from the mechanism of split
re-evaluation present in EFDT. Nonetheless, EFDT has theoretical properties
that ensure it converges faster than the vanilla Hoeffding Tree to the structure
that would be created by a batch decision tree model (such as Classification and
Regression Trees - CART). Keep in mind that such propositions hold when processing
a stationary data stream. When dealing with non-stationary data, EFDT is somewhat
robust to concept drifts as it continually revisits and updates its internal
decision tree structure. Still, in such cases, the Hoeffind Adaptive Tree might
be a better option, as it was specifically designed to handle non-stationarity.
Parameters
----------
Expand Down

0 comments on commit 6111c48

Please sign in to comment.