how to test and train data

7 visualizzazioni (ultimi 30 giorni)
kash
kash il 24 Feb 2012
I have a set of data of 1000x6,i have atopass this data to a classifier(svm smo),plesae help how to do it,by thaking3/4th as training data,remaining as test data
  1 Commento
Pramod Bhat
Pramod Bhat il 27 Mar 2012
Indices = crossvalind('Kfold', N, K)
it is a matlab inbuilt function. go through it once.
put k=0.75 here. this will make 3/4th of your data as training data and 1/4th as test data.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by