About 269,000 results
Open links in new tab
  1. DecisionTreeClassifier — scikit-learn 1.6.1 documentation

    Complexity parameter used for Minimal Cost-Complexity Pruning. The subtree with the largest cost complexity that is smaller than ccp_alpha will be chosen. By default, no pruning is …

  2. How to tune a Decision Tree in Hyperparameter tuning

    Apr 21, 2025 · Hyperparameter tuning helps prevent this by controlling the tree's complexity (e.g., with max_depth) and preventing excessive granularity (e.g., with min_samples_split). …

  3. Cost Complexity Pruning in Decision Trees | by Sarthak Arora ...

    Sep 19, 2020 · DecisionTree in sklearn has a function called cost_complexity_pruning_path, which gives the effective alphas of subtrees during pruning and also the corresponding …

  4. Cost Complexity Pruning in Decision Trees Using Scikit-Learn

    Feb 23, 2024 · DecisionTree in sklearn has a function called cost_complexity_pruning_path, which gives the effective alphas of subtrees during pruning and also the corresponding impurities.

  5. Decision Tree Regressor (with Cost Complexity Pruning) Code …

    Oct 9, 2024 · We’ll explore the most common post-pruning method which is cost complexity pruning, that introduces a complexity parameter to the decision tree’s cost function. All visuals: …

  6. Decision Tree Parameter Explanations | In Plain English

    Sep 15, 2021 · Cost complexity pruning. It is another parameter to control the size of the tree. Larger values increase the number of nodes pruned. Now let's apply a generic decision tree …

  7. Cost Complexity Pruning in Decision Trees - by Avi Chawla

    Sep 20, 2024 · In sklearn, you can control cost-complexity-pruning using the ccp_alpha parameter: The objective is to determine the optimal value of ccp_alpha, which gives a better …

  8. Tree pruning — ML book - GitHub Pages

    By selecting subtrees with lower costs, the tree can be pruned to an optimal level. This method uses a hyperparameter called the complexity parameter (often denoted as α) to control the …

  9. Post pruning decision trees with cost complexity pruning

    Cost complexity pruning provides another option to control the size of a tree. In DecisionTreeClassifier, this pruning technique is parameterized by the cost complexity …

  10. Pruning cost complexity in decision trees - Datapeaker

    Pruning of minimal cost and complexity is one of the types of decision tree pruning. This algorithm is parameterized by α (≥0) known as the complexity parameter. The complexity parameter is …

Refresh