Created
September 17, 2018 22:07
-
-
Save ericness/0fb793cb90253b86dfd6e159a9badf9f to your computer and use it in GitHub Desktop.
Checks that a MockBinaryClassifier can run predict.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model = MockBinaryClassifier() | |
test_feature = np.array([[0], [0.5], [3], [-1]]) | |
predictions = model.predict(test_feature) | |
print(predictions) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment