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 16:00:12 UTC
[jira] [Commented] (SPARK-8631) MLlib predict function error
[ https://issues.apache.org/jira/browse/SPARK-8631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601238#comment-14601238 ]
Subhod Lagade commented on SPARK-8631:
--------------------------------------
based on the parameter type input to predict method does not behave in respective manner.
please check the functionality of this method in this class.
> 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