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
X-fold-cross validation on predefined folds [SOLVED]
Hello,
How can I perform an x-fold-cross validation process on already created folds? That is, I have 10 predefined train/test set pairs and I need to apply them all on the same learner (so ultimately I can optimize this learner on the defined folds by using EvolutionaryParameterOptimization operator)? Hope this is clear enough... Thanks in advance!
How can I perform an x-fold-cross validation process on already created folds? That is, I have 10 predefined train/test set pairs and I need to apply them all on the same learner (so ultimately I can optimize this learner on the defined folds by using EvolutionaryParameterOptimization operator)? Hope this is clear enough... Thanks in advance!
0
Answers
So it would be really helpful if I could somehow just load mine train/test pairs and apply them all on the same learner. Or can I somehow set this test/train ratio in Batch-X-Validation?
pair1,pair2,income,consumption
training,testing,119,154
training,testing,85,123
training,training,97,125
training,testing,95,130
training,training,120,151
training,training,92,131
training,training,105,141
training,training,110,141
training,training,98,130
training,testing,98,134
training,training,81,115
training,training,81,117
training,training,91,123
training,training,105,144
training,training,100,137
training,training,107,140
training,training,82,123
training,training,84,115
training,testing,100,134
training,testing,108,147
training,training,116,144
training,training,115,144
training,training,93,126
training,training,105,141
training,training,89,124
training,training,104,144
training,training,108,144
training,training,88,129
training,training,109,137
training,training,112,144
testing,testing,96,132
testing,training,89,125
testing,training,93,126
testing,testing,114,140
testing,training,81,120
testing,training,84,118
testing,testing,88,119
testing,training,96,131
testing,training,82,127
testing,testing,114,150