imblearn.ensemble.EasyEnsembleClassifier.fit

EasyEnsembleClassifier.fit(X, y)[source]

Train the ensemble on the training set.

Parameters
X{array-like, sparse matrix} of shape (n_samples, n_features)

The training input samples.

yarray-like of shape (n_samples,)

The target values.

Returns
selfobject

Returns self.