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

採用された回答

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 Center および File ExchangeClassification Learner App についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by