Main Content

判别分析

正则线性和二次判别分析

To interactively train a discriminant analysis model, use the分类Learner应用程序。为了获得更大的灵活性,请训练使用判别分析模型fitcdiscr在命令行接口中。训练后,通过将模型和预测数据进行预测标签或估计后验概率predict

应用

分类Learner Train models to classify data using supervised machine learning

功能

展开全部

fitcdiscr 拟合判别分析分类器
makecdiscr 构建参数的判别分析分类器
compact 紧凑的判别分析分类器
cvshrink 线性判别式的跨估量正规化
lime 局部可解释的模型不足解释(石灰)
partialdependence 计算部分依赖性
情节依赖性 创建部分依赖图(PDP)和个人条件期望(ICE)图
沙普利 沙普利值
杂交 交叉验证判别分析分类器
kfoldedge 交叉验证分类模型的分类边缘
kfoldloss 分类失利for cross-validated classification model
kfoldfun 分类的交叉验证函数
kfoldMargin 分类利润s for cross-validated classification model
kfoldpredict 在交叉验证分类模型中分类观察结果
失利 分类error
重新公开 分类错误通过重述
logp 判别分析分类器的对数无条件概率密度
玛哈尔 Mahalanobis距离判别分析分类器的阶级手段
nlinearcoeffs Number of nonzero linear coefficients
比较 Compare accuracies of two classification models using new data
edge 分类边缘
利润 分类利润s
重新组 分类边缘
resubMargin 通过重新确定的分类利润率
testckfold 通过重复交叉验证比较两个分类模型的精度
predict Predict labels using discriminant analysis classification model
重新提高 Predict resubstitution labels of discriminant analysis classification model
classify 使用判别分析对观察进行分类

课程

分类歧视 判别分析分类
CompactClassificationDiscriminant 紧凑的判别分析类
分类部门模型 Cross-validated classification model

话题

使用分类学习者应用程序的训练判别分析分类器

创建和比较判别分析分类器,并导出经过训练的模型以对新数据进行预测。

监督学习工作流程和算法

Understand the steps for supervised learning and the characteristics of nonparametric classification and regression functions.

参数分类

Categorical response data

判别分析分类

了解判别分析算法以及如何将判别分析模型拟合到数据。

创建判别分析模型

了解用于构建判别分析分类器的算法。

创建和可视化判别分析分类器

对Fisher Iris数据进行线性和二次分类。

Improving Discriminant Analysis Models

Examine and improve discriminant analysis model performance.

正规化判别分析分类器

通过删除预测变量而不损害模型的预测能力,使其更加可靠,更简单。

检查高斯混合物假设

判别分析假定数据来自高斯混合模型。了解如何检查这个假设。

使用判别分析模型的预测

Understand howpredictclassifies observations using a discriminant analysis model.

可视化不同分类器的决策表面

This example shows how to visualize the decision surface for different classification algorithms.