python - scikit learn 中特征缩放的使用

标签 python machine-learning scikit-learn regression

我正在从这里学习机器学习,该类(class)使用回归中的“scikit learn” - https://www.udemy.com/machinelearning/

我可以看到,对于某些训练回归算法,作者使用了特征缩放,而对于某些训练回归算法,作者则没有使用特征缩放,因为某些“scikit learn”回归算法会自行处理特征缩放。

如何知道哪些训练算法需要进行特征缩放,哪些不需要?

最佳答案

没有机器学习技术需要特征缩放,对于某些算法缩放输入使得计算机上的优化更容易,从而缩短训练时间。

通常,利用距离或假设正态性的算法受益于特征缩放。 https://medium.com/greyatom/why-how-and-when-to-scale-your-features-4b30ab09db5e

关于python - scikit learn 中特征缩放的使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51660001/

相关文章:

python - Matplotlib 绘制日期时间图

machine-learning - 使用 Tensorflow 估计器

python - skimage 在 LAB 色彩空间中为每个 channel 使用什么范围?

python - 为什么在 Google Colab 中重新启动运行时 KMeans 的 silhouette_score 会发生变化?

python - 我正在编写的 Python REST 服务器中的 json 响应问题

tensorflow - 为什么深度学习模型没有与加州房价数据收敛?

python - 升级后的Pylab

python - 如何在 Scikit-Learn 中绘制超过 10 倍交叉验证的 PR 曲线

python - PyQt MainWindow 不显示小部件

python - 查找图像 : how could reduce cpu usage? 中的颜色