Differences between treefit() and classregtree() functions in Matlab

Hello
I was wondering if there is any difference between the treefit() and classregtree functions within MATLAB. From a first they look similar ! I have already programmed a classification using the treefit() algorithm and I was thinking if there is going to be any difference in the classification accuracy if I reprogram my code using the classregtree().
Thank you in advance

 Akzeptierte Antwort

Tom Lane
Tom Lane am 19 Jun. 2012

0 Stimmen

There's no difference. The treefit function is older. The classregtree object was intended to do this same thing with a cleaner interface. But the fitting is the same.

1 Kommentar

Thank you very much for your answer ! Indeed the classregtree() looks more detailed at a first glance.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by