Why am I getting different accuracy in training a deep CNN in each trial?
    7 views (last 30 days)
  
       Show older comments
    
    krishna Chauhan
 on 18 Nov 2020
  
    
    
    
    
    Commented: Ameer Hamza
      
      
 on 19 Nov 2020
            Hi there
I am using deep CNN architecture for classsification task. I wonder why I am getting different accuracy every time. Is there any way to find the best accuracy out of this model? As I cant run it over 100 times for such long epochs on cpu :(
or is the the only way to calculate accracy is to find mean of all these trials
plz guide.
Thanks
0 Comments
Accepted Answer
  Ameer Hamza
      
      
 on 18 Nov 2020
        The initialization of the deep learning model is random. It is expected that every time you run the training, the result will be somewhat different. But it should not be significantly different. If they are, then this shows a problem with your model, which is too sensitive to the initialization. If the difference is not that significant, then you can just take the best value.
8 Comments
  Ameer Hamza
      
      
 on 19 Nov 2020
				I do agree that it is slightly above 50% in all the cases, so it is not the same a random value. But it still seems low. It depends on your requirement and state of the art. If the accuracy of 53% makes sense in your case, then it should be fine.
More Answers (0)
See Also
Categories
				Find more on Deep Learning Toolbox in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
