/UFLDL

Notes and Assignments for UFLDL Tutorial - Python3 code

Primary LanguagePython

UFLDL

Notes and Assignments for UFLDL Tutorial - Python3 code

Depends

pip install numpy
pip install matplotlib
pip install scipy

Tips

  • Download data from assignment link before you run the exercise.

Sparse Autoencoder

python train.py

Vectorization

  • MNIST (download MNIST data)
python train.py

PCA and Whitening

python pca_gen.py

Softmax Regression

  • Assignment
  • Data:train-images-idx3-ubyte,train-labels-idx1-ubyte,t10k-images.idx3-ubyte,t10k-labels.idx1-ubyte
python softmaxExercise.py

Self-Taught Learning and Unsupervised Feature Learning

  • Assignment
  • Data:train-images-idx3-ubyte,train-labels-idx1-ubyte
python stlExercise.py

Building Deep Networks for Classification

  • Assignment
  • Data:train-images-idx3-ubyte,train-labels-idx1-ubyte,t10k-images.idx3-ubyte,t10k-labels.idx1-ubyte
python stackedAEExercise.py

Linear Decoders with Autoencoders

python linearDecoderExercise.py

Working with Large Images

  • Assignment
  • Data:stlTestSubset.mat,stlTrainSubset.mat
python cnnExercise.py