Decision Trees

Follow a sequence of data-based decisions to predict a category or a numerical value.

Current dataset

Include a header row. Export Excel files as CSV. Data is shared across analysis pages in this browser.

No dataset loaded.

Choose your tree

Predictors — choose one or more

Numerical predictors split at thresholds; categorical predictors split one category versus the rest. Numeric category codes are treated as quantitative.

Choose your train / validation / test split BEFORE fitting

Model fitting uses training data only. Validation and test sets remain held out. Splits are reproducible with the selected random seed.

70% training / 15% validation / 15% test

Modeling sample

Large datasets are sampled before partitioning. Original data stays unchanged.

Uses the random seed above. Holdout partitioning remains random.

Complete an operation, then save it to your Analysis Algorithm.