【问题标题】:What formula we have to use for fit_transform method?我们必须为 fit_transform 方法使用什么公式?
【发布时间】:2020-10-02 12:12:21
【问题描述】:

我们必须使用什么公式在 print(X_train) 中获得这些数字? enter image description here

【问题讨论】:

  • 我知道我们为此使用 sklearn 库,但我想知道它是如何通过公式计算的

标签: python machine-learning methods scikit-learn transform


【解决方案1】:

这就是 Standardscaler 函数的计算方式:

如果你想深入挖掘,请参考 - http://sebastianraschka.com/Articles/2014_about_feature_scaling.html#standardization-and-min-max-scaling

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-01-06
    • 2021-12-12
    • 2012-01-26
    • 1970-01-01
    • 2020-07-17
    • 1970-01-01
    • 2020-03-10
    • 1970-01-01
    相关资源
    最近更新 更多