New to MatLab - how to see the actual predicted classifications for Classification Learner Testing?

조회 수: 13 (최근 30일)
Folks,
I am new to MatLab and have been experimenting with Classification Learner.
I have created a model and used the Learn functionality.
I have then tested the model on a different test data set. However I cannot find anywhere I can look at the predictions Classification Learner has made for each of my test data points. Ideally I want to look at my test data table and see for each line what the actual classification is versus the predicted classification.
Is there an easy way to do this?
Thanks in advance

채택된 답변

Drew
Drew 2024년 3월 13일
편집: Drew 2024년 3월 13일
In R2023b or higher, you can find the table view that you are looking for in the "Local Shapley" plot on the "Explain" tab. On the left side in the "Select Query Point" section, choose the "Table" view. There is an example below, using the fisheriris dataset. In this case, "Species" is the actual class, and "Prediction" is the predicted class. In the view below, in order to increase the space available for the table of interest, the left-side models panel has been minimized. If this answer helps you, please remember to accept the answer.

추가 답변 (0개)

카테고리

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