Github: https://github.com/scikit-learn/scikit-learn.git
LearnCode/scikit-learn/sklearn/preprocessing/data.py
classStandardScaler
说明:
class StandardScaler(BaseEstimator, TransformerMixin):
// 通过除去平均值和缩放单位化方差 来 标准化特性
"""Standardize features by removing the mean and scaling to unit variance
// 定中心和缩放发生独立在每个特征中,通过计算训练集中样本的相关性统计。
// 然后平均值和标准差将存储起来,在后续数据转换方法中被使用
Centering and scaling happen independently on each feature by computing
the relevant statistics on the samples in the training set. Mean and
standard deviation are then stored to be used on later data using the
`transform` method.