scikit-learn-contrib / py-earth

A Python implementation of Jerome Friedman's Multivariate Adaptive Regression Splines
http://contrib.scikit-learn.org/py-earth/
BSD 3-Clause "New" or "Revised" License
457 stars 122 forks source link

How should smoothed basis functions interact with pruning? #53

Closed jcrudy closed 10 years ago

jcrudy commented 10 years ago

This pertains to the smoothed representation of Friedman, 1991, section 3.7. Should there be a larger penalty in the cost complexity function? Should smoothing happen before or after pruning?

jcrudy commented 10 years ago

Pruning happens before smoothing. Therefore no additional complexity penalty is possible (or needed).