Yeah you'd have to look at the source code in this case; it's not explained in the scaladoc or usage message as far as I can see either. The args refer specifically to the example of recommending Movies to Users. This example makes up a bunch of ratings and then makes recommendations using ALS.
M = number of movies in the made-up data U = number of users F = number of latent factors in the ALS model iter = number of iterations to run ALS for slices = level of parallelism to use on Spark I'd say that could be explained in the scaladoc at least. As an aside though, looking at the code, this is not a demo of ALS from MLlib, but a different implementation and based on the CERN linear algebra libraries. Is this still a good example? -- Sean Owen | Director, Data Science | London On Mon, Apr 28, 2014 at 6:30 PM, Diana Carroll <[email protected]> wrote: > Hi everyone. I'm trying to run some of the Spark example code, and most of > it appears to be undocumented (unless I'm missing something). Can someone > help me out? > > I'm particularly interested in running SparkALS, which wants parameters: > M U F iter slices > > What are these variables? They appear to be integers and the default values > are 100, 500 and 10 respectively but beyond that...huh? > > Thanks! > > Diana
