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

ML models should support prediction on single instances

    XMLWordPrintableJSON

Details

    • Umbrella
    • Status: Resolved
    • Critical
    • Resolution: Incomplete
    • None
    • None
    • ML

    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

          Activity

            People

              Unassigned Unassigned
              mengxr Xiangrui Meng
              Votes:
              13 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: