Function classify in matlab

2 Ansichten (letzte 30 Tage)
joelle
joelle am 4 Apr. 2013
I'm using function classify yfit=classify(xtest,xtrain,ytrain,'quadratic') when I apply this function to specific signal I've obtained yfit the exacte opposite of ytest (which take value 0 pr 1) and i can't find the cause. If I apply it to another signals it work properly. Please can anyone help me

Antworten (1)

Harshit
Harshit am 4 Apr. 2013
The classifiers accuracy can never be 100%. The classifiers gets trained on training set and then work on the data. Porbably you should make your training set richer or mark that as an error.
  1 Kommentar
joelle
joelle am 5 Apr. 2013
Hi Harshit I know that the classifier accuracy can never be 100% but my problem is when I've applied this function to some signal the accuracy is 0 %. I've obtained just the opposite of the real value.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by