nzer0 628d871ba8 ipynb image links are fixed | 8 years ago | |
---|---|---|
images | 8 years ago | |
Auto-Encoder.ipynb | 8 years ago | |
MLP.ipynb | 8 years ago | |
README.md | 8 years ago | |
logistic_regression.ipynb | 8 years ago | |
mnist.hdf5 | 8 years ago | |
theano_advanced.ipynb | 8 years ago | |
theano_basic.ipynb | 8 years ago |
Purpose of this repo is to demonstrate the fundamentals of Theano. The codes in this repo aims to be clear and contructed from the bottom.
Theano
. To install it, follow the instruction here. numpy
will be installed alongside.h5py
package. You can install it by pip install h5py
but in case you get some errors and you are using Ubuntu, (I don't know why exactly) you may try apt-get install python-h5py
.With the help of matplotlib
, you can visualize the data. Now you might want interactive inspection on the data. For example, you might want to inspect image one by one interactively. You can do this by following code snippet.
from __future__ import print_function
from IPython.html.widgets import interact, interactive, fixed
from IPython.html import widgets
@interact(idx=(0,100))
def viz_data(idx):
code_for_visualizing_the_idx_th_data()
You might want to see an animated view. You can do this using JSAnimation
. You first download JSAnimation
from here. Unzip it and go in to the directory then type sudo python setup.py install
. A simple usage example is demonstrated here.