You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Subhod Lagade (JIRA)" <ji...@apache.org> on 2015/06/25 15:58:04 UTC
[jira] [Created] (SPARK-8631) MLlib predict function error
Subhod Lagade created SPARK-8631:
------------------------------------
Summary: MLlib predict function error
Key: SPARK-8631
URL: https://issues.apache.org/jira/browse/SPARK-8631
Project: Spark
Issue Type: Bug
Components: MLlib
Affects Versions: 1.4.0
Reporter: Subhod Lagade
def
predict(usersProducts: RDD[(Int, Int)]): RDD[Rating]
Predict the rating of many users for many products. The output RDD has an element per each element in the input RDD (including all duplicates) unless a user or product is missing in the training set.
usersProducts
RDD of (user, product) pairs.
returns
RDD of Ratings.
def
predict(user: Int, product: Int): Double
Predict the rating of one user for one product.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org