tkf / PyRNN

Recurrent Neural Networks by pure python

Clone this repository (size: 28.1 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/tkf/pyrnn/
commit 21: 22dc9583b75e
parent 20: d26eb5a02311
add ElmanNetBernTanh. change old elman nets to ElmanNetGaussTanh, ElmanNetGaussSigmoid and ElmanNetDiriSoftmax. defaulttip
Takafumi Arakaki
3 weeks ago
View at rev
PyRNN / toy / ElmanNet /
filename size last modified message
fptt.py 320 B 3 months ago wrote ElmanNet from scratch. learn_liss.py works fine.
learn_l_anime.py 2.5 KB 3 months ago add lanime
learn_liss.py 815 B 3 months ago - remove commentouted codes in bptt and fptt
learn_liss_anime.py 1.3 KB 3 months ago for demo
learn_liss_sigm.py 855 B 3 months ago -toy examples for ElmanNetSigm and ElmanNetBern
learn_oscillate01.py 613 B 3 months ago -toy examples for ElmanNetSigm and ElmanNetBern
learn_oscillate01_diri.py 723 B 3 months ago ElmanNetDiri for Elman Net with softmax output function and…

README

How to install

Just do this (you may need root):

python setup.py install

If you want to install in ./home/ so you won't mess up your python system:

python setup.py install --home=home

Or you may want to install in specific directory if you are in cross platform environment (this is what I do):

python setup.py install --home=home/`uname -m`

After installation, you may add this in your .bashrc or other config files:

export PYTHONPATH=${PYTHONPATH}:/path/to/pyrnn/home/lib/python/

or:

export PYTHONPATH=${PYTHONPATH}:/path/to/pyrnn/home/`uname -m`/lib/python/

Document

Document is available here: http://www4.pf-x.net/~arataka/pyrnn/