/kmeans-learning-torch

K-means feature learning on CIFAR-10 translated to Torch

Primary LanguageLua

K-means-Learning-Torch7

K-means feature learning demo on CIFAR translated to Lua/Torch7. This work was published as "An Analysis of Single-Layer Networks in Unsupervised Feature Learning" by Adam Coates et al. 2011. The original MatLab code can be found in http://www.cs.stanford.edu/~acoates/

Dependencies

It requires unsup and optim packages.

luarocks install unsup optim

Run demo

Use the command below.

th run.lua