This page has moved.
For linear solver example applications see: http://graphlab.org/gabp.html
For matrix factorization example applications see http://graphlab.org/pmf.html
For clustering example applications see http://graphlab.org/clustering.html
Is the gabp demo called something else? In OSX just built:
ReplyDeletebash-3.2$ ls
boost_1_46_0 graphlabapi
boost_1_46_0.zip graphlabapi_v1_535.tar.gz
bash-3.2$ ls graphlabapi/debug/demoapps/
CMakeFiles Makefile coem image_denoise svm
CTestTestfile.cmake cmake_install.cmake demo pagerank
I am sending you soon instructions about how to add gabp to the code. (It will be simple - I promise..)
ReplyDeletePlease use this link: http://graphlabapi.googlecode.com/files/graphlabapi_v1_878.tar.gz
ReplyDeleteand repeat the instructions. This tar file has both pmf and gabp. You may need to install itpp for pmf. Let me know if this works for you.
Great, it's rebuilding now.
ReplyDeleteWhere do I look for SVD-like matrix decomposition functionality?
It is found in the directory demoapps/pmf
ReplyDeleteA detailed tutorial is found on: http://www.graphlab.ml.cmu.edu/pmf.html
You will need to install the last library: itpp.
Detailed instructions are found on my blog on: http://bickson.blogspot.com/search/label/itpp
Note, that I think you need only to install step 6. (Since MAC is supposed to come with Atlas, so lapack installation is not needed). Let me know if you have any issues.
p.s.
ReplyDeleteAfter you install itpp, you will need to ./configure and make again.
OK, I'm back here with a working pmf and some test data (TV ratings; also NetFlix; also some smaller experimental set derrived from wikipedia descriptions of movies in archive.org). Will try movielens from http://www.graphlab.ml.cmu.edu/pmf.html first ... ... ok that worked (https://gist.github.com/1039631 ) ... we're in business finally :)
ReplyDeleteIs it reasonable to expect http://www.graphlab.ml.cmu.edu/matlab.html to work with Octave too? Hmm not sure that page is exactly what I'm after, which is -for now- just to have Octave access to the contents of the binary file that pmf gives me. RTFM time!
HI Dan
ReplyDeleteAlways glad to hear your feedback! Currently we have 3 ways for reading the PMF output format. 1) Matlab 2) simple binary format 3) python script. On default the output is based on itpp format, but if you use the --binaryoutput=true flag the output will be a simple binary array. Here is its format:
The flag you should use is --binaryoutput=true
it writes the following format:
//OUTPUT: SAVE FACTORS U,V,T to a binary file
// FORMAT: M N K D (4 x ints = user, movies, time bins, feature width (dimension))
// MATRIX U ( M x D doubles)
// MATRIX V ( N x D doubles)
// MATRIX K ( K x D doubles - optional, only for tensor)
// TOTAL FILE SIZE: 4 ints + (M+N+K)*D - for tensor
// 4 ints + (M+N)*D - for matrix
There is also python script written by Timmy, I will send it in a separate email.
Thanks. itload() in Octave is working now. I was expecting to use it like this initially "[Movie, User] = itload('movielens20.out')" but I see now with 'whos' it chooses the variable names for me.
ReplyDeleteDid you change anything in the script, or do you use it as in Matlab?
ReplyDeleteit works untouched. The only thing changed was realising how to invoke the function.
ReplyDeleteHi,
ReplyDeleteI've started the configured AMI instance, and ran make in this demo's directory. However, the executable complains about invalid syntax on the command line invocation.
I've previously tried updating the image, as you mentioned in the previous post, but that fails with missing libraries. I just assumed that the prebuilt image would work as is, but is there more that I need to do?
Thanks
John
Hey,
ReplyDeleteGot it to work with this command line :-
./gabp --algorithm 0 --data mat3x3
Hi John,
ReplyDeleteI apologize for the trouble. Those instructions where a bit too old.. I have updated the blog post to point to the newer instructions. Let us know if you have any questions! You are welcome to join our user mailing list:
http://groups.google.com/group/graphlab-kdd where you can ask any question.
best,
DB