Description: Tree Regression: modeling of complex relationships. Can generally be divided into two types, one is the regression trees, one is the model tree,
The main difference is that the modeling of leaf nodes, using a piecewise constant regression trees, tree model using linear regression equation.
You can use pruning techniques may be too fit for tree pruning, pruning pruning is generally divided into pre-and post-pruning.
Regression trees and model trees are two yuan tree, each division always choose the best way, is divided into two parts.
This is the Python language to write their own CART tree regression program, the basic realization of its principles, comment more.
To Search:
File list (Check if you may need any files):
TreeRegression.py
TreeRegression.readme