Unable to run Discriminant Analysis

2 ビュー (過去 30 日間)
Tallha Akram
Tallha Akram 2012 年 2 月 24 日
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"

採用された回答

Jiro Doke
Jiro Doke 2012 年 2 月 24 日
ClassificationDiscriminant class is new in R2011b Statistics Toolbox. Do you have R2011b?

その他の回答 (1 件)

Prashanth Ravindran
Prashanth Ravindran 2012 年 3 月 10 日
use function 'classify' to perform discriminant analysis. This function is available in the earlier versions of MATLAB.

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by