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 Center および File ExchangeClassification Learner App についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by