evalml.pipelines.BaselineMulticlassPipeline.fit¶
-
BaselineMulticlassPipeline.
fit
(X, y)¶ - Build a classification model. For string and categorical targets, classes are sorted
by sorted(set(y)) and then are mapped to values between 0 and n_classes-1.
- Parameters
X (ww.DataTable, pd.DataFrame or np.ndarray) – The input training data of shape [n_samples, n_features]
y (ww.DataColumn, pd.Series, np.ndarray) – The target training labels of length [n_samples]
- Returns
self