You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2017/03/14 00:10:42 UTC

[jira] [Commented] (SPARK-10413) ML models should support prediction on single instances

    [ https://issues.apache.org/jira/browse/SPARK-10413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923258#comment-15923258 ] 

Joseph K. Bradley commented on SPARK-10413:
-------------------------------------------

[~akrim] I agree this would be useful, but it will require some significant design work.  Definitely something which will be considered in the future.  This JIRA's scope has been intentionally limited *not* to include Pipelines.  See [SPARK-16365] for discussion of Pipelines.

> ML models should support prediction on single instances
> -------------------------------------------------------
>
>                 Key: SPARK-10413
>                 URL: https://issues.apache.org/jira/browse/SPARK-10413
>             Project: Spark
>          Issue Type: Umbrella
>          Components: ML
>            Reporter: Xiangrui Meng
>            Priority: Critical
>
> Currently models in the pipeline API only implement transform(DataFrame). It would be quite useful to support prediction on single instance.
> UPDATE: This issue is for making predictions with single models.  We can make methods like {{def predict(features: Vector): Double}} public.
> * This issue is *not* for single-instance prediction for full Pipelines, which would require making predictions on {{Row}}s.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org