简体   繁体   English

我们必须对 fit_transform 方法使用什么公式?

[英]What formula we have to use for fit_transform method?

What formula we have to use to get these numbers in print(X_train)?我们必须使用什么公式来在 print(X_train) 中获取这些数字? enter image description here在此处输入图片说明

That's how Standardscaler function calculates:这就是 Standardscaler 函数的计算方式:

在此处输入图片说明

If you want to dig deep into it, refer - http://sebastianraschka.com/Articles/2014_about_feature_scaling.html#standardization-and-min-max-scaling如果您想深入研究,请参阅 - http://sebastianraschka.com/Articles/2014_about_feature_scaling.html#standardization-and-min-max-scaling

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我们可以直接使用 .fit_transform() 吗? - Can we use .fit_transform() directly? 当我们使用transform得到相同的output时为什么要使用fit_transform方法 - Why should we use the fit_transform method when we get the same output using transform .fit_transform方法的输出 - The output from the .fit_transform method sklearn 中的 ColumnTransformer 实现没有定义 fit 方法,它只是自动调用 fit_transform? - ColumnTransformer implementation in sklearn doesn't have a fit method defined, it just automatically calls fit_transform? sklearn countvectorizer 中的 fit_transform 和 transform 有什么区别? - What is the difference between fit_transform and transform in sklearn countvectorizer? sklearn中的'transform'和'fit_transform'有什么区别 - what is the difference between 'transform' and 'fit_transform' in sklearn 使用 fit_transform() 和 transform() - Using fit_transform() and transform() fit_transform(image)TSNE方法的数字数组格式 - Numpy array format for fit_transform(image) TSNE method 如何在两列上使用 sklearn TfidfVectorizer fit_transform - How to use sklearn TfidfVectorizer fit_transform on two columns sklearn.decomposition 中的 PCA 中的 fit、transform 和 fit_transform 有什么作用? - What does fit, transform, and fit_transform do in PCA available in sklearn.decomposition?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM