I have a dataset that is divided into training and test parts. My task is to train it and evaluate my model using k-fold cross validation. I'm a bit confused with the task statement. As far as I know the point of k-dold cross validation is to evaluate the model on a limited data sample by using all the data to train and test it. Please tell me if I'm correct in my algorithm:
- Concatenate the test and the train parts of my dataset.
- Split the whole dataset into k parts.
- Use the MLP to train my model on all parts of my dataset except one, then test it on the left part. Retain the evaluation score.
- Calculate the average evaluation score.