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

"Iterating through each fold in X-Validation operator ?"

kashif_khankashif_khan Member Posts: 19 Contributor II
edited June 2019 in Help
Hello Friends,

I am trying to iterate through each fold separately via java code in rapidminer but don't have a clue. I can access the Validation Operator and it's sub processes (train and test) but don't have any idea how to iterate through k-fold one by one ???

I appreciate any help ...

Answers

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering
    Hi,

    you can't reasonably do it without creating your own operator which extends XValidation.
    You can see the code of X-Validation by looking at com.rapidminer.operator.validation.XValidation.java. The estimatePerformance() method starts the cross validation and calls protected methods from there on. If you want to hook into them, you'd have to create your own x-val operator which can then override the protected methods.

    Regards,
    Marco
Sign In or Register to comment.