Main Content

La traducción de esta página está obsoleta. Haga clic aquí para ver la última versión en inglés.

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
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

Clases

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

Temas