Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] FIX use a stump as base estimator in RUSBoostClassifier #545

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
PEP8
  • Loading branch information
glemaitre committed Jun 11, 2019
commit e7b4356cedcfb5421ec787a46a45337212f138e5
2 changes: 1 addition & 1 deletion imblearn/ensemble/tests/test_weight_boosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_balanced_random_forest_error(imbalanced_dataset, boosting_params,
@pytest.mark.parametrize('algorithm', ['SAMME', 'SAMME.R'])
def test_rusboost(imbalanced_dataset, algorithm):
X, y = imbalanced_dataset
X_train, X_test, y_train, y_test = train_test_split(X, y,
X_train, X_test, y_train, y_test = train_test_split(X, y,
stratify=y,
random_state=1)
classes = np.unique(y)
Expand Down