We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d50d76d commit 3702849Copy full SHA for 3702849
README.md
@@ -186,7 +186,7 @@ classifier.fit(train_features, train_labels)
186
187
# Evaluate using the logistic regression classifier
188
predictions = classifier.predict(test_features)
189
-accuracy = np.mean((test_labels == predictions).astype(np.float)) * 100.
+accuracy = np.mean((test_labels == predictions).astype(float)) * 100.
190
print(f"Accuracy = {accuracy:.3f}")
191
```
192
0 commit comments