Skip to main content
100%

Gist 50e40854fbb877bb074c

✓ Published0🌍 Public
SSamyMe
Last edited Dec 3, 2015
Created on Dec 3, 2015

This example demonstrates a training pipeline for a denoising autoencoder using Pylearn2’s `DenseDesignMatrix` and `yaml_parse`. It shows how layer-wise pretraining is configured through YAML templates, with hyperparameters like batch size, hidden units, and epochs injected dynamically. The code constructs a small synthetic dataset from ranged arrays, saves it as a pickle, then trains the first layer by writing a modified YAML file and invoking `train_yaml`. The model is ultimately serialized to `dae_l1.pkl`.

AI-generated description

Similar vizzes