BinaryClassificationPipeline.
fit
by sorted(set(y)) and then are mapped to values between 0 and n_classes-1.
X (pd.DataFrame or np.array) – the input training data of shape [n_samples, n_features]
y (pd.Series) – the target training labels of length [n_samples]
self