I performed Classification on text data using Classification Learner App. I want to export the results to .csv format. Is there any way I can do that?

1 view (last 30 days)
I performed Classification using naive Bayes from the the Classification Learner App and got an accuracy of 85.7%. Now, i want to convert the classified results to a CSV file and send it forward to my project sponsors. Is there any way this can be done?

Answers (1)

SC
SC on 1 Jul 2020
Edited: SC on 1 Jul 2020
if you have a matrix and want to write it into a csv file
for example, you can do that like this:
m = [234 2;671 5;735 1;264 2;346 7]
writematrix(m,'M.csv')
if you want to write a table into .csv file:
for more examples to how to write data into a .csv file, visit the following links:

Community Treasure Hunt

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

Start Hunting!