![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1641851/image.png)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1641851/image.png)
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!