spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhengruifeng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-10413) ML models should support prediction on single instances
Date Fri, 03 Aug 2018 02:08:00 GMT

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

zhengruifeng commented on SPARK-10413:
--------------------------------------

Is there a plan to expose {{{{predict}}}} in clustering algs?  [~mengxr]

 

I just encounter a case in which this feature is needed.

> 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
(v7.6.3#76005)

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


Mime
View raw message