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

 채택된 답변

Tom Lane
Tom Lane 2012년 6월 19일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2012년 6월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by