evalml.pipelines.components.Transformer.fit

Transformer.fit(X, y=None)

Fits component to data

Parameters
  • X (list, ww.DataTable, pd.DataFrame or np.ndarray) – The input training data of shape [n_samples, n_features]

  • y (list, ww.DataColumn, pd.Series, np.ndarray, optional) – The target training data of length [n_samples]

Returns

self