How can I trust my result which is changing according to train,test and validation set choice in NeuralNetwork?

2 views (last 30 days)
Hi, Now I'm using the NeuralNetwork Pattern recognition.
In my case, I have a 60 subjects x 700 features data, and it has 2 class labels.
Using dividerand Function, I separated the subjects with train 70%, test 15%, validation 15%
As the result, The accuracy always changes according to subject select in train, test and validation set.
How can I trust my result which is changing according to train,test and validation set choice in NeuralNetwork ?
As I know, model performance will be trust throught the divided train, test and validation set.
Then, I can used the max accuracy ?
of After the repeat, and using the average of results?
I need the help, please..!
thank you !

Answers (1)

Prince Kumar
Prince Kumar on 21 Jan 2022
Hi,
This generally happens when you do not have a pre-defined train, validation and test set for training and testing the model. As you keep changing the data distribution between these sets, the result will vary accordingly. In such cases try to do a k-fold cross validation.
Please refer to the following documentations for more clarity
Hope this helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!