Unable to run Discriminant Analysis

2 Ansichten (letzte 30 Tage)
Tallha Akram
Tallha Akram am 24 Feb. 2012
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"

Akzeptierte Antwort

Jiro Doke
Jiro Doke am 24 Feb. 2012
ClassificationDiscriminant class is new in R2011b Statistics Toolbox. Do you have R2011b?

Weitere Antworten (1)

Prashanth Ravindran
Prashanth Ravindran am 10 Mär. 2012
use function 'classify' to perform discriminant analysis. This function is available in the earlier versions of MATLAB.

Kategorien

Mehr zu Dimensionality Reduction and Feature Extraction 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