I am having some trouble in understanding how to implement cross validation. In my case I am trying to apply it to an LVQ system. This is what I understood so far...
One of the parameters that can be adjusted for LVQ is the number of prototypes to model each class. In order to find the best amount of prototypes, one must train the model on training data and then test the model on unseen data and calculate its performance. However depending on which data points you use for training and for validation, the performance result will vary. Hence cross validation can be used to get an average of the performance.
You repeat this for different amounts of prototypes and see which amount obtains the best average. Once this is done, what do you do next? Do you generate a new model on the entire training set corresponding to the amount of prototypes which obtained the best result, or do you use the model corresponding to the fold which obtained the highest accuracy during cross validation?