Removed unused `enumerate()` and `n_classifiers`

pull/639/head
Ramin RX7 3 years ago committed by GitHub
parent 1d9d018c95
commit d01ebf4e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -77,9 +77,7 @@ Start by creating an array of classifiers. You will add progressively to this ar
2. Train your model using the Linear SVC and print out a report:
```python
n_classifiers = len(classifiers)
for index, (name, classifier) in enumerate(classifiers.items()):
for name, classifier in classifiers.items():
classifier.fit(X_train, np.ravel(y_train))
y_pred = classifier.predict(X_test)

Loading…
Cancel
Save