Skip to content

A simple Restricted Boltzmann Machine implemented in Theano applied on word tuples

License

Notifications You must be signed in to change notification settings

malie/theano-rbm-on-word-tuples

Repository files navigation

A very simple Restricted Boltzmann Machine implementation.

Only CD-1 Shows Theano

Tries to learn the distribution of common word tuples from a text.

You'd need to install Theano and some python libs to get it running

Theano http://deeplearning.net/software/theano/

pip install scikit-learn
pip install gizeh

running the simplest version (that even hasn't minibatches) with

python rbm1.py

The minibatch version is in rbm-minibatch.py

The dropout version is in rbm-dropout.py. It is learning a larger data set, common word tuples of size 5, 40 common words and 140 hiddens.

About

A simple Restricted Boltzmann Machine implemented in Theano applied on word tuples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages