Papers
Topics
Authors
Recent
Search
2000 character limit reached

Fully-Dynamic Decision Trees

Published 1 Dec 2022 in cs.LG, cs.AI, and cs.DS | (2212.00778v1)

Abstract: We develop the first fully dynamic algorithm that maintains a decision tree over an arbitrary sequence of insertions and deletions of labeled examples. Given $\epsilon &gt; 0$ our algorithm guarantees that, at every point in time, every node of the decision tree uses a split with Gini gain within an additive ϵ\epsilon of the optimum. For real-valued features the algorithm has an amortized running time per insertion/deletion of O(dlog<sup>3</sup>nϵ<sup>2)O\big(\frac{d \log<sup>3</sup> n}{\epsilon<sup>2}\big), which improves to O(dlog<sup>2</sup>nϵ)O\big(\frac{d \log<sup>2</sup> n}{\epsilon}\big) for binary or categorical features, while it uses space O(nd)O(n d), where nn is the maximum number of examples at any point in time and dd is the number of features. Our algorithm is nearly optimal, as we show that any algorithm with similar guarantees uses amortized running time Ω(d)\Omega(d) and space Ω~(nd)\tilde{\Omega} (n d). We complement our theoretical results with an extensive experimental evaluation on real-world data, showing the effectiveness of our algorithm.

Citations (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.