factor out setup code
Merge pull request #890 from goodfeli/warm_start

factor out setup code
Merge branch 'master' of github.com:lisa-lab/pylearn2
Merge pull request #12 from skearnes/master

lisa-lab changes