I saw the help in Matlab, but they have provided an example without explaining how to use the parameters in the ‘classregtree’ function. Any help to explain the use of ‘classregtree’ with its parameters will be appreciated.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The documentation page of the function classregtree is self-explanatory…
Lets go over some of the most common parameters of the classification tree model:
A complete example to illustrate the process:
Update:
The above
classregtreeclass was made obsolete, and is superseded byClassificationTreeandRegressionTreeclasses in R2011a (see thefitctreeandfitrtreefunctions, new in R2014a).Here is the updated example, using the new functions/classes: