We are writing a small ANN which is supposed to categorize 7000 products into 7 classes based on 10 input variables.
In order to do this we have to use k-fold cross
Divide your data into K non-overlapping folds. Have each fold K contain an equal number of items from each of the m classes (stratified cross-validation; if you have 100 items from class A and 50 from class B and you do 2 fold validation, each fold should contain a random 50 items from A and 25 from B).
For i in 1..k:
You have now collected aggregate results across all the folds. This is your final performance. If you're going to apply this for real, in the wild, use the best parameters from the grid search to train on all the data.