Main Content

판별분석

정규화된 선형 및 2차 판별분석

대화형 방식으로 판별분석 모델을 훈련시키려면 분류 학습기 앱을 사용하십시오. 명령줄 인터페이스에서 fitcdiscr을 사용하여 판별분석 모델을 훈련시키면 유연성을 높일 수 있습니다. 훈련 후에는 모델과 예측 변수 데이터를 predict에 전달하여 레이블을 예측하거나 사후 확률을 추정합니다.

분류 학습기머신러닝 지도 학습을 사용하여 데이터를 분류하도록 모델 훈련시키기

함수

모두 확장

fitcdiscrFit discriminant analysis classifier
makecdiscrConstruct discriminant analysis classifier from parameters
compactCompact discriminant analysis classifier
cvshrinkCross-validate regularization of linear discriminant
limeLocal interpretable model-agnostic explanations (LIME)
partialDependenceCompute partial dependence
plotPartialDependenceCreate partial dependence plot (PDP) and individual conditional expectation (ICE) plots
shapleyShapley values
crossvalCross-validated discriminant analysis classifier
kfoldEdgeClassification edge for cross-validated classification model
kfoldLossClassification loss for cross-validated classification model
kfoldfunCross-validate function for classification
kfoldMarginClassification margins for cross-validated classification model
kfoldPredictClassify observations in cross-validated classification model
lossClassification error
resubLossClassification error by resubstitution
logpLog unconditional probability density for discriminant analysis classifier
mahalMahalanobis distance to class means of discriminant analysis classifier
nLinearCoeffsNumber of nonzero linear coefficients
compareHoldoutCompare accuracies of two classification models using new data
edgeClassification edge
marginClassification margins
resubEdgeClassification edge by resubstitution
resubMarginClassification margins by resubstitution
testckfoldCompare accuracies of two classification models by repeated cross-validation
predictPredict labels using discriminant analysis classification model
resubPredictPredict resubstitution labels of discriminant analysis classification model
classifyClassify observations using discriminant analysis

클래스

ClassificationDiscriminantDiscriminant analysis classification
CompactClassificationDiscriminantCompact discriminant analysis class
ClassificationPartitionedModelCross-validated classification model

도움말 항목