Unable to run Discriminant Analysis
Afficher commentaires plus anciens
I am unable to run this command in matlab .
load fisheriris;
linclass=ClassificationDiscriminant.fit(meas,species);
Reason:
After loading fisheriris, matlab gives error on ClassificationDiscriminant.fit because The file " ClassificationDiscriminant.fit" is not in Matlab directory.
Link is given below : "http://www.mathworks.com/help/toolbox/stats/bq_u8tb.html"
Réponse acceptée
Plus de réponses (1)
Prashanth Ravindran
le 10 Mar 2012
0 votes
use function 'classify' to perform discriminant analysis. This function is available in the earlier versions of MATLAB.
Catégories
En savoir plus sur Discriminant Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!