Anyone help me please, How to use Classification Learner App to calculate accuracy rates on training set, and on test set??

조회 수: 1(최근 30일)
I am using classification Learner App on my dataset. My dataset has two sets, Training set and Test set these sets are separate files, I have trained the training dataset using Classification learner and exported the model, now I am not getting how to evaluate this trained model on the test set, to check the accuracy on the test set too. Please help.

채택된 답변

Von Duesenberg
Von Duesenberg 2018년 6월 14일
It's all explained here: Basically, if your trained model is called trainedModel, then use the predictFcn property on new data, eg.:
Y = trainedModel.predictFcn(newData)
  댓글 수: 3
kanuparthi bhagyasree
kanuparthi bhagyasree 2019년 4월 27일
Dear Saeeda saher,
I am also facing the same issue, I got the predicted labels but now I wanted to find the accuracy and confusion matrix for the test data.
How to do that?
Please help me.

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

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by