Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Cross validation with decision trees
franky99
Hello everyone, when using for example a k fold cross validation strategy with 10 folds with decision trees, 10 trees are built.
When outputting the results for cross validation, only one tree/model is shown. How is that tree calculated exactly?
Find more posts tagged with
AI Studio
Accepted answers
BalazsBaranyRM
Hi!
When the model output of the Cross Validation operator is connected, it calculates a last (11th) model from all the data. So your tree was built from all data and applying the training phase on them.
If you're interested in the ten other trees, you can set a breakpoint inside the cross validation and take a look at them. With some automation (e. g. Generate Macro incrementing the loop number) you can also store the validation models in the repository.
Regards,
Balázs
All comments
BalazsBaranyRM
Hi!
When the model output of the Cross Validation operator is connected, it calculates a last (11th) model from all the data. So your tree was built from all data and applying the training phase on them.
If you're interested in the ten other trees, you can set a breakpoint inside the cross validation and take a look at them. With some automation (e. g. Generate Macro incrementing the loop number) you can also store the validation models in the repository.
Regards,
Balázs
franky99
Thanks, it's much clearer now!
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups