Cross Validation Aggregator node

#1

I have a question about the scorer generated by the cross-validation(K-Fold Cross Validation). I used the
X-aggregator after the predictor node.
Are the scores generated by the scorer from one best model from the 10 tests or from the average of these ten folds or just simply the last output?

0 Likes

#2

Hello @miss_rl,

in a K-Fold cross validation each row in the input is used in K-1 iterations for training the model and in only one iteration for prediction.
The top output of the X-Aggregator provides you with the prediction for each row from the iteration where it was not used to train the model.
The bottom output gives you the error rates for each iteration i.e. how the trained model performed on the rows that were not used to train it in this iteration.

Cheers,

Adrian

1 Like