Export True and Predicted Class Labels from All Models in Classification Learner to CSV/Excel for Research Report
I am using MATLAB’s Classification Learner App to train multiple models (e.g., SVM, KNN, NN, etc.) on my dataset. The app displays the confusion matrix for each model individually, which is helpful.
For my research, I want to export the predicted class labels along with the true class labels for each trained model into a single .csv or .xlsx file — ideally including:
Model name
True class label
Predicted class label
How can I export these predictions for all models from Classification Learner into a table form from the classifier learner?I am using MATLAB’s Classification Learner App to train multiple models (e.g., SVM, KNN, NN, etc.) on my dataset. The app displays the confusion matrix for each model individually, which is helpful.
For my research, I want to export the predicted class labels along with the true class labels for each trained model into a single .csv or .xlsx file — ideally including:
Model name
True class label
Predicted class label
How can I export these predictions for all models from Classification Learner into a table form from the classifier learner? I am using MATLAB’s Classification Learner App to train multiple models (e.g., SVM, KNN, NN, etc.) on my dataset. The app displays the confusion matrix for each model individually, which is helpful.
For my research, I want to export the predicted class labels along with the true class labels for each trained model into a single .csv or .xlsx file — ideally including:
Model name
True class label
Predicted class label
How can I export these predictions for all models from Classification Learner into a table form from the classifier learner? confusion matrix, csv file MATLAB Answers — New Questions