title: Mllib ALS model predict Error
body: <p>Facing error for model.predict method MatrixFactorizationModel saying while trying to compile in scala.    </p>
  
  <pre><code> val usersProducts = ratings.map{ case Rating(user, product, rate) =&gt; (user, product,rate) }
   val predictions =   model.predict(usersProducts).map{ case Rating(user, product, rate) =&gt; ((user, product), rate)}
  </code></pre>
  
  <p>Error : not enough arguments for method predict: (user: Int, product: Int)Double.</p>