MATLAB Answers

Help, how can get result of classification using SVM with csv files ?

9 views (last 30 days)
sumu nowshin
sumu nowshin on 11 Aug 2018
Answered: Bernhard Suhm on 3 Oct 2018
I have two CSV files for training and testing

Answers (1)

Bernhard Suhm
Bernhard Suhm on 3 Oct 2018
Use csvread to read those files into an array or table, train (or "fit") an SVM model on the trainings set using fitcsvm, and then use the predict function with your SVM model to generate predictions on the testing_set.

Community Treasure Hunt

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

Start Hunting!