What is algorithmic difference between the MATLAB functions ClassificationDiscriminant.fit and classify to perform discriminant analysis
조회 수: 2 (최근 30일)
이전 댓글 표시
MATLAB 2012b provides two functions for Discriminant Analysis (ClassificationDiscriminant.fit and classify).
obj = ClassificationDiscriminant.fit(X,Y) returns a discriminant analysis classifier based on the input variables (also known as predictors, features, or attributes) X and output (response) Y.
class = classify(sample,training,group) classifies each row of the data in sample into one of the groups in training. sample and training must be matrices with the same number of columns.
What the difference between the two functions algorithmically?
Regards, Prashanth
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!