Skip to content

Instantly share code, notes, and snippets.

View josemvidal's full-sized avatar
😀

José M Vidal josemvidal

😀
View GitHub Profile
@josemvidal
josemvidal / dnn.py
Created August 10, 2014 19:37 — forked from syhw/dnn.py
"""
A deep neural network with or w/o dropout in one file.
"""
import numpy, theano, sys, math
from theano import tensor as T
from theano import shared
from theano.tensor.shared_randomstreams import RandomStreams
from collections import OrderedDict