Skip to content

Solution for Stanford cs294a, sparse autoencoder in MatLab and Python

License

Notifications You must be signed in to change notification settings

alanhyue/cs294a_2011-sparseAutoencoders

Repository files navigation

cs294a_2011-sparseAutoencoders

Solution for Stanford cs294a, sparse autoencoder in MatLab and Python

Running the code:

For Python

  • Download the data file 'IMAGES.mat' and the code file 'sparse_autoencoder.py'
  • Put them in the same folder, and run the program by typing in 'python sparse_autoencoder.py' in the terminal
  • You should get a result similar to the 'weights.first.jpg'
  • The code takes about 1 minute to finish on a 2016 computer

For MatLab

  • Download the data file 'IMAGES.mat' and the code files '*.m'
  • Put them in the same folder, and run the program by typing in 'train' in the MatLab
  • You should get a result similar to the 'weights.first.jpg'
  • The code takes about 1 minute to finish on a 2016 computer

About

Solution for Stanford cs294a, sparse autoencoder in MatLab and Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published