spark-issues mailing list archives

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


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:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message