Why the Accuracy is changing for same data set while using Classification learner app in MATLAB.How do I get the Accuracy same for all the time
    4 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Iam working with EMG signals .I found features of three signals and I need to use classfication learner app.When I use the same set of features the accuracy is varying for same validation (like cross validation and Hold out validation) with PCA.Why it is like that?
How can I get the accuracy same for all the time 
0 件のコメント
回答 (1 件)
  Walter Roberson
      
      
 2022 年 8 月 3 日
        Before every run, use rng() to set the random number seed to a consistent value.
Most training systems for classifiers and neural networks use random numbers.
2 件のコメント
  Walter Roberson
      
      
 2022 年 8 月 4 日
				for K = 1 : 5
    rng(12345)
    run the classification at this point
    %you should get consistent answers
end
参考
カテゴリ
				Help Center および File Exchange で Classification Learner App についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!