The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Cross validation with decision trees

franky99franky99 Member Posts: 2 Learner I
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?

Best Answer

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Solution Accepted
    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

Answers

Sign In or Register to comment.