Status : under development
This repository contains some of the code used for a research project at Auckland University. The code is based in python-theano and can consequently be shared however the underlying data sources remain hidden for confidentiality.
The requirements are just a few python packages that can be installed with pip
pip install dill configParser
if unable to sudo, add the flag --user to install locally
Code should always be run from the root directory for example
ipython test/test_mlp.py

running with python may not pick up the directory structure correctly on some distributions like Ubuntu but ipython works across the board.
Logs are stored by overwriting the default file runlog.log which will contain OS X terminal colour codes to highlight different information levels. The log should therefore be opened in the terminal though a command such as cat

All scripts contain import caffeine which prevents the system from going into sleep during runtime.
Several scripts are provided for visualising parameters at runtime.
See runtime for more details.
An example is shown below.
train_[MODEL].py: trainsMODELon the weather datapredict.py: make a prediction from data by loading a trained modelmodels: building blocks to build the modelstest: contains test routines for each model inmodelsusing MNISTutils: non-core functions unrelated to ML such asloggingdump: stored data such as plots indump/plots/and trained models indump/modelsrunlog.log: will appear in the root directory. View withcat runlog.logfor colour supportdata.py: routines related to loading / storing data. Parsesconfig.ini.config.ini: configuration file described below
A config.ini file is required in the root directory that will be structured in standard .ini format as
[Global]
log = /path/to/root/runlog.log
[Load Data]
mnist_loc = /a/directory/path/mnist.pkl.gz
mnist_url = http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz
icestorm_loc = /path/to/data/files/
model_dir = /path/to/root/dump/models/
and will be parsed by py where parameters are stored.
