Skip to content
Snippets Groups Projects
Commit 4bc8822c authored by Andreas Mueller's avatar Andreas Mueller
Browse files

COSMIT pep8

parent e686e38c
Branches
No related tags found
No related merge requests found
...@@ -101,8 +101,8 @@ n_samples = 100 ...@@ -101,8 +101,8 @@ n_samples = 100
n_features = 300 n_features = 300
# L1 data (only 5 informative features) # L1 data (only 5 informative features)
X_1, y_1 = datasets.make_classification(n_samples=n_samples, n_features=n_features, X_1, y_1 = datasets.make_classification(n_samples=n_samples,
n_informative=5, random_state=1) n_features=n_features, n_informative=5, random_state=1)
# L2 data: non sparse, but less features # L2 data: non sparse, but less features
y_2 = np.sign(.5 - rnd.rand(n_samples)) y_2 = np.sign(.5 - rnd.rand(n_samples))
...@@ -148,4 +148,3 @@ for fignum, (clf, cs, X, y) in enumerate(clf_sets): ...@@ -148,4 +148,3 @@ for fignum, (clf, cs, X, y) in enumerate(clf_sets):
pl.legend(loc="best") pl.legend(loc="best")
pl.show() pl.show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment