Search Results for: Meslin seed
mllibrating(u, i, rating) // modified } .cache() ... } modify train() method to use als.trainimplicit(): change the following from: 1 2 3 4 5 6 7 8 9 10 11 12 ... val m = als.trainimplicit( ratings = mllibratings, rank = ap.rank, iterations = ap.numiterations, lambda = ap.lambda, blocks = -1, alpha = 1.0, seed
= seed) ... to: 1 2 3 4 5 6 7 8 9 10 11 ... val m = als.train( // modified ratings = mllibratings, rank = ap.rank, iterations = ap.numiterations, lambda = ap.lambda, blocks = -1, seed = seed) ... that's it!...
https://predictionio.apache.org/templates/similarproduct/train-with-rate-event/