org.apache.spark.ml.recommendation
Class ALS.Rating<ID>

Object
  extended by org.apache.spark.ml.recommendation.ALS.Rating<ID>
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product
Enclosing class:
ALS

public static class ALS.Rating<ID>
extends Object
implements scala.Product, scala.Serializable

:: DeveloperApi :: Rating class for better code readability.

See Also:
Serialized Form

Constructor Summary
ALS.Rating(ID user, ID item, float rating)
           
 
Method Summary
 ID item()
           
 float rating()
           
 ID user()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

ALS.Rating

public ALS.Rating(ID user,
                  ID item,
                  float rating)
Method Detail

user

public ID user()

item

public ID item()

rating

public float rating()