classification learner app accuracy changed with every run command why?

조회 수: 3 (최근 30일)
geetu yadav
geetu yadav 2016년 5월 24일
댓글: Walter Roberson 2016년 5월 25일
same feature dataset its accuracy changed for every classifier evrytime why? how can i get correct result?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 5월 24일
I would suspect that some of the work involves random numbers. If you use rng() to set the same seed each time before classification then you would probably get the same result each time.
  댓글 수: 2
geetu yadav
geetu yadav 2016년 5월 25일
how to do that pls explain while using learner app?
Walter Roberson
Walter Roberson 2016년 5월 25일
Call
rng(12345)
then invoke the learner app and train once. Then exit the learner app and repeat the sequence, rng(12345) and go back into the learner app and train once again. I suspect you will get the same results.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Classification Learner App에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by