Skip to content

Instantly share code, notes, and snippets.

View rootAvish's full-sized avatar
🇮🇳

Avishkar Gupta rootAvish

🇮🇳
View GitHub Profile
@rootAvish
rootAvish / dnn.py
Last active August 29, 2015 14:27 — forked from syhw/dnn.py
A simple deep neural network with or w/o dropout in one file.
"""
A deep neural network with or w/o dropout in one file.
License: Do What The Fuck You Want to Public License http://www.wtfpl.net/
"""
import numpy, theano, sys, math
from theano import tensor as T
from theano import shared
from theano.tensor.shared_randomstreams import RandomStreams