Main Content

Análisis discriminante

Análisis discriminante lineal y cuadrático regularizado

Para entrenar de forma interactiva un modelo de análisis discriminante, utilice la app Classification Learner. Para mayor flexibilidad, entrene un modelo de análisis discriminante mediante fitcdiscr en la interfaz de línea de comandos. Tras el entrenamiento, prediga las etiquetas o calcule las probabilidades a posteriori pasando el modelo y los datos de los predictores a predict.

Apps

Classification LearnerEntrenar modelos para clasificar datos usando machine learning supervisado

Funciones

expandir todo

fitcdiscrFit discriminant analysis classifier
makecdiscrConstruct discriminant analysis classifier from parameters
compactReduce size of discriminant analysis classifier
cvshrinkCross-validate regularization of linear discriminant
limeLocal interpretable model-agnostic explanations (LIME) (desde R2020b)
partialDependenceCompute partial dependence (desde R2020b)
plotPartialDependenceCreate partial dependence plot (PDP) and individual conditional expectation (ICE) plots
shapleyShapley values (desde R2021a)
crossvalCross-validate 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 for discriminant analysis classifier
resubLossResubstitution classification loss for discriminant analysis classifier
logpLog unconditional probability density for discriminant analysis classifier
mahalMahalanobis distance to class means of discriminant analysis classifier
nLinearCoeffsNumber of nonzero linear coefficients in discriminant analysis classifier
compareHoldoutCompare accuracies of two classification models using new data
edgeClassification edge for discriminant analysis classifier
marginClassification margins for discriminant analysis classifier
resubEdgeResubstitution classification edge for discriminant analysis classifier
resubMarginResubstitution classification margins for discriminant analysis classifier
testckfoldCompare accuracies of two classification models by repeated cross-validation
predictPredict labels using discriminant analysis classifier
resubPredictPredict resubstitution labels of discriminant analysis classification model
classifyClasificar observaciones mediante análisis discriminante

Clases

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

Temas