New to MatLab - how to see the actual predicted classifications for Classification Learner Testing?
조회 수: 4 (최근 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
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
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!