/pylearn2-practice

Pylearn2 in practice

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Pylearn2 in practice

See http://fastml.com/pylearn2-in-practice/ for description.

Here are the commands to execute for Windows:

set PYTHONPATH=%PYTHONPATH%;.
set THEANO_FLAGS=device=cpu
train.py adult.yaml
python predict.py softmax_regression_best.pkl adult\test.csv predictions.txt

And for Unix (untested):

export PYTHONPATH=$PYTHONPATH:.
export THEANO_FLAGS=device=cpu
train.py adult.yaml
python predict.py softmax_regression_best.pkl adult/test.csv predictions.txt