Skip to content

Instantly share code, notes, and snippets.

@amacgregor
Created May 22, 2016 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amacgregor/ec63927f29f79342aadcc561a5df5b6e to your computer and use it in GitHub Desktop.
Save amacgregor/ec63927f29f79342aadcc561a5df5b6e to your computer and use it in GitHub Desktop.
from numpy import exp, array, random, dot
ts_inputs = array([[0, 0, 0], [0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]])
ts_outputs = array([[0, 0, 0, 1, 1]]).T
#unknown input
unk_input = array([1, 0, 0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment