Skip to content

Commit

Permalink
Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurmensch committed Oct 20, 2015
1 parent f16c9ae commit 610c6a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sklearn/utils/estimator_checks.py
Expand Up @@ -1029,11 +1029,13 @@ def check_classifiers_train(name, Classifier, readonly=False):
positive = True
else:
positive = False
X_m, y_m = _make_blobs_with_mode(random_state=0, shuffle=True,
X_m, y_m = _make_blobs_with_mode(n_samples=300,
random_state=0, shuffle=True,
readonly=readonly, scale=True,
positive=positive)
# generate binary problem
X_b, y_b = _make_blobs_with_mode(random_state=0, shuffle=True,
X_b, y_b = _make_blobs_with_mode(n_samples=300,
random_state=0, shuffle=True,
readonly=readonly, scale=True,
positive=positive, centers=2)
for (X, y) in [(X_m, y_m), (X_b, y_b)]:
Expand Down

0 comments on commit 610c6a0

Please sign in to comment.