Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-10413

ML models should support prediction on single instances

    XMLWordPrintableJSON

    Details

    • Type: Umbrella
    • Status: Resolved
    • Priority: Critical
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ML
    • Labels:

      Description

      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.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mengxr Xiangrui Meng
              • Votes:
                13 Vote for this issue
                Watchers:
                31 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: