I am using classification learner app, svm generated code for the classification of multiclass dataset.

Now I wanted to test with the unseen dataset, for this I am using yfit.

% yfit = trainedClassifier.predictFcn(T2)

Now I got the predicted labels for the test data. How to find the test accuracy and confusion matrix from the predicted labels?

Can someone please help me in this.

Similar questions and discussions