evalml.pipelines.components.StandardScaler.fit

StandardScaler.fit(X, y=None)

Fits component to data

Parameters
  • X (pd.DataFrame or np.array) – the input training data of shape [n_samples, n_features]

  • y (pd.Series, optional) – the target training data of length [n_samples]

Returns

self