Same cross-validation for multiple classifiers to have fair comparison?

Hi guys,

I’m new to KNIME and I would like to use cross-validation for multiple classifiers on a dataset to have a fair comparison between them (give all classifiers the same training and test set). As the X-Aggregator node just has one input, I do not know how to connect multiple classifiers to it.

Thanks in advance!

Hi @Am_HR7. The X-Partitioner and X-Aggregator nodes should be paired, you can not connect multiple X-Aggregator nodes to a single X-partitioner one. In order to have the same sets for all models just use the same random seed across all the X-Paritioner nodes.


So if I choose same Random seed for all the X-Partitioner nodes, I will get same training & test set?

Yes you get the same partition in all nodes.

Thanks, Have a great day!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.