liveBook · Manning

Tree-based method

A tree-based method is a predictive or decision-making technique that represents its rules or decision structure using one or more trees.

How 3 Manning books explain it

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A tree-based model is a predictive model whose decision structure is formed from one or more decision trees.

How it is used
Handles tabular prediction with relatively little preprocessing, supporting both classification and regression workflows.
How deep it goes
Explains roots, branches, leaves, split search, impurity criteria, and pruning, but does not detail ensemble variants.
Examples
Uses animal classification by legs and eyes and Airbnb NYC listing classification with categorical and numeric features.
What you can do after
Apply it via scikit-learn pipelines, preprocessing features and evaluating a DecisionTreeClassifier with cross-validation.

Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains tree-based method →

Machine Learning Algorithms in Depth

A tree-based model makes predictions by recursively partitioning an input space into regions represented by nodes and leaves.

How it is used
Uses recursive partitioning for interpretable classification and regression, with feature importance as an additional source of insight.
How deep it goes
Derives feature-threshold search and Gini impurity, mentions entropy, and stops short of detailing the full objective equations.
Examples
Demonstrates Python classes for CART and applies the workflow to the Iris dataset with train-test splitting and accuracy scoring.
What you can do after
Build a basic CART classifier from scratch with node state, split search, depth control, and accuracy evaluation.

Read how Machine Learning Algorithms in Depth explains tree-based method →

Demand Forecasting Best Practices

A tree-based machine learning model makes predictions using one or more decision-tree structures that represent relationships between inputs and outputs.

How it is used
Uses tree-based models to forecast demand and inspect which data features receive the model’s attention.
How deep it goes
Explains feature importance and scenario analysis, but stops short of exposing level, trend, seasonality, or direct causal effects.
Examples
Uses feature rankings, weather as a low-importance driver, and promotion scenarios showing uplift and self-cannibalization.
What you can do after
Evaluate demand drivers and compare forecast scenarios while avoiding causal claims from feature importance alone.

Read how Demand Forecasting Best Practices explains tree-based method →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.