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?

3 次查看(过去 30 天)
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?

回答(1 个)

SC
SC 2020-7-1
编辑:SC 2020-7-1
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:

类别

Help CenterFile Exchange 中查找有关 Classification Learner App 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by