Unable to run Discriminant Analysis
显示 更早的评论
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"
采纳的回答
更多回答(1 个)
Prashanth Ravindran
2012-3-10
0 个投票
use function 'classify' to perform discriminant analysis. This function is available in the earlier versions of MATLAB.
类别
在 帮助中心 和 File Exchange 中查找有关 Classification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!