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?

조회 수: 6 (최근 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