Unable to run Discriminant Analysis
조회 수: 2 (최근 30일)
이전 댓글 표시
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"
댓글 수: 0
채택된 답변
Jiro Doke
2012년 2월 24일
ClassificationDiscriminant class is new in R2011b Statistics Toolbox. Do you have R2011b?
댓글 수: 0
추가 답변 (1개)
Prashanth Ravindran
2012년 3월 10일
use function 'classify' to perform discriminant analysis. This function is available in the earlier versions of MATLAB.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!