|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectorg.apache.spark.mllib.recommendation.Rating
public class Rating
A more compact class to represent a rating than Tuple3[Int, Int, Double].
| Constructor Summary | |
|---|---|
Rating(int user,
int product,
double rating)
|
|
| Method Summary | |
|---|---|
int |
product()
|
double |
rating()
|
int |
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 |
|---|
public Rating(int user,
int product,
double rating)
| Method Detail |
|---|
public int user()
public int product()
public double rating()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||