treefit
has been removed.
To create a classification tree, use fitctree
to
construct a ClassificationTree
object.
To create a regression tree, use fitrtree
to construct a
RegressionTree
object.
For more information, see the fitctree
or
fitrtree
reference pages in the Statistics and Machine
Learning Toolbox documentation.