Why do I get difference values doing this?-general syntax question

kfoldLoss(crossval(rtree2)) gives another value then the other kfold below:
rtree3=(crossval(rtree2));
kfoldLoss(rtree3)
Why?;)
Thank you!

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Asked:

on 1 Aug 2014

Edited:

on 1 Aug 2014

Community Treasure Hunt

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

Start Hunting!