Skip to content

Commit

Permalink
update scala example
Browse files Browse the repository at this point in the history
  • Loading branch information
hhbyyh committed Jun 30, 2015
1 parent 8a44692 commit 9bd3383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/mllib-collaborative-filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ val ratings = data.map(_.split(',') match { case Array(user, item, rate) =>

// Build the recommendation model using ALS
val rank = 10
val numIterations = 20
val numIterations = 10
val model = ALS.train(ratings, rank, numIterations, 0.01)

// Evaluate the model on rating data
Expand Down

0 comments on commit 9bd3383

Please sign in to comment.