Skip to content

Instantly share code, notes, and snippets.

@joycex99
Created September 23, 2017 22:06
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 joycex99/d2ff5f3bfeec713be2cf2f11c2244718 to your computer and use it in GitHub Desktop.
Save joycex99/d2ff5f3bfeec713be2cf2f11c2244718 to your computer and use it in GitHub Desktop.
(def num-features (count (:data (first (create-dataset))))
(def network-description
[(layers/input num-features 1 1 :id :data) ;width, height, channels
(layers/linear->relu 20) ; num-output
(layers/dropout 0.9)
(layers/linear->relu 10)
(layers/linear 2)
(layers/softmax :id :label)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment