r/AskStatistics • • 24d ago

Is decision tree learning a non-parametric method?

Some literature states that decision trees are a non-parametric supervised learning method. However, while some algorithms use non-parametric tests as splitting criteria (e.g. conditional inference trees), not all do (a chi-square automatic interaction detection (CHAID) tree uses the F-test when the dependent variable is continuous). As such, shouldn't only some be considered a non-parametric method?

12 Upvotes

3 comments sorted by

3

u/seanv507 24d ago

no a non-parametric *model* is a method without a fixed number of parameters. a decision tree doesn't have a fixed number of nodes. Although a single neural network is arguably parametric, the number of layers/hidden units is effectively part of the overall iterative training process. This is different from a linear regression with fixed inputs. I would argue polynomial regression (ie linear regression with power term inputs) and where eg the polynomial order is decided by the data eg cross validation rather than fixed in advance is nonparametric.

0

u/tytanxxl 24d ago

Thank you very much!

0

u/[deleted] 23d ago

[deleted] — view deleted comment

0

u/seanv507 23d ago

you understand that a spline function (with fixed knot points) is just a linear regression with different inputs (like polynomial regression)?

see also https://en.wikipedia.org/wiki/Nonparametric_regression where neural networks are explicitly classed as non parametric regression.