To interactively train a discriminant analysis model, use the分类Learner应用程序。为了获得更大的灵活性,请训练使用判别分析模型fitcdiscr
在命令行接口中。训练后,通过将模型和预测数据进行预测标签或估计后验概率predict
。
分类Learner | Train models to classify data using supervised machine learning |
分类歧视 |
判别分析分类 |
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 howpredict
classifies observations using a discriminant analysis model.
This example shows how to visualize the decision surface for different classification algorithms.