Skip to content

Instantly share code, notes, and snippets.

@cobanov
Last active April 2, 2019 17:36
Show Gist options
  • Save cobanov/ed208bef3f2a74c3ce77fc177b83d538 to your computer and use it in GitHub Desktop.
Save cobanov/ed208bef3f2a74c3ce77fc177b83d538 to your computer and use it in GitHub Desktop.
pred_zero_zero = np.array([[0.0,0.0]]) # Expecting False
pred_zero_one = np.array([[0.0,1.0]])
pred_one_zero = np.array([[1.0,0.0]])
pred_one_one = np.array([[1.0,1.0]])
predictions = [pred_zero_zero, pred_zero_one, pred_one_zero, pred_one_one]
for pred in predictions:
print(model_and.predict(pred))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment