Perhaps it's just my installation, but LLE does not appear to work because it cannot find the functions in init.lua. I installed the module with luarocks install manifold. I Googled around a bit, and I don't see a reason why those functions aren't loaded in the require 'manifold' call.
m = require 'manifold'
t = torch.randn(100,10)
p = m.embedding.lle(t, {dim=2, neighbors=3})
/usr/local/share/lua/5.1/manifold/lle.lua:18: attempt to call global 'neighbors' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/manifold/lle.lua:18: in function 'lle'
[string "p = m.embedding.lle(t, {dim=2, neighbors=3})..."]:1: in main chunk
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/trepl/init.lua:519: in function </usr/local/share/lua/5.1/trepl/init.lua:426>
Sorry, it's a previous commit of mine that introduced that bug. It's fixed now. I've also moved the swiss roll script into the demo directory. Working now?
Perhaps it's just my installation, but LLE does not appear to work because it cannot find the functions in init.lua. I installed the module with luarocks install manifold. I Googled around a bit, and I don't see a reason why those functions aren't loaded in the require 'manifold' call.