Discriminant Analysis

Linear and quadratic discriminant analysis classification

To train a discriminant analysis model, use fitcdiscr. After training a discriminant analysis model, predict labels or estimate posterior probabilities by passing the model and predictor data to predict.


fitcdiscr Fit discriminant analysis classifier
predict Predict classification
templateDiscriminant Discriminant analysis classifier template
makecdiscr Construct discriminant analysis classifier from parameters
loss Classification error
crossval Cross-validated discriminant analysis classifier
cvshrink Cross-validate regularization of linear discriminant
logP Log unconditional probability density for discriminant analysis classifier


ClassificationDiscriminant Discriminant analysis classification
CompactClassificationDiscriminant Compact discriminant analysis class
ClassificationPartitionedModel Cross-validated classification model

Was this topic helpful?