Pylearn2 YAML interface + tests.