Class ALS.Rating<ID>

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

public static class ALS.Rating<ID> extends Object implements scala.Product, scala.Serializable
Rating class for better code readability.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Rating(ID user, ID item, float rating)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    float
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productIterator, productPrefix
  • Constructor Details

    • Rating

      public Rating(ID user, ID item, float rating)
  • Method Details

    • user

      public ID user()
    • item

      public ID item()
    • rating

      public float rating()