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

13 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Drew
Drew el 13 de Mzo. de 2024
Editada: Drew el 13 de Mzo. de 2024
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.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by