evalml.pipelines.components.TextFeaturizer.fit

TextFeaturizer.fit(X, y=None)[source]

Fits component to data

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

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

Returns

self