python-3.x - 如何解释线性判别分析的结果?

标签 python-3.x machine-learning scikit-learn

我有兴趣了解哪些“特征”在多类分类中最具影响力。

我已经使用 PCA 完成了此操作,这似乎允许我通过 components_ 向量 检查每个组件的每个特征的方向方差。

我正在努力询问 LDA 的结果,以了解哪些功能是每个组件的一部分以及它们的影响是什么......

关于 fit_transform 之后 LDA 对象的哪些元素可用于获取每个组件的特定功能的见解,有什么建议吗?

最佳答案

Heresklearn 文档中的答案本身。

Principal Component Analysis (PCA) applied to this data identifies the combination of attributes (principal components, or directions in the feature space) that account for the most variance in the data. Here we plot the different samples on the 2 first principal components.

Linear Discriminant Analysis (LDA) tries to identify attributes that account for the most variance between classes. In particular, LDA, in contrast to PCA, is a supervised method, using known class labels.

关于python-3.x - 如何解释线性判别分析的结果?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41189237/

相关文章:

python - 导入 scikit-learn 时出错

Python sklearn 所有记录的余弦相似度循环

python - 使用 Python 查找盘符 (Windows)

python-3.x - TensorFlow 2.0 'build' 函数

python - Jupyter notebook 无法识别 venv 中的包

machine-learning - 调查以确定满意度 : how to find the questions that mattered?

python - 我什么时候应该在 StratifiedKFold 中洗牌

python-3.x - 使用 XPath 将图像 URL 提取为字符串

parsing - 如何将产品标题(非结构化)解析为结构化数据?

python - 将 DictVectorizer 与 sklearn DecisionTreeClassifier 结合使用