Function classify in matlab
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Harshit
2013-4-4
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!