【发布时间】:2018-09-23 07:38:59
【问题描述】:
我是机器学习的初学者,我正在尝试使用数据集来训练对数线性分类器。数据集包含五个特征,每个特征都是一个向量,但特征的维度不同。尺寸分别为 3、1、6、2 和 2。我尝试使用 scikit-learn 将尺寸减小到 1 的 PCA 方法,但效果不佳。那么如何处理特征以拟合逻辑回归等对数线性分类器模型?
【问题讨论】:
-
欢迎来到 StackoverFlow。请take the tour,阅读how to ask good questions,了解how to create a Minimal, Complete and Verifiable Example。
标签: python-3.x machine-learning logistic-regression feature-extraction