XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0-incubating
    • Core
    • None

    Description

      Implement a new pio batchpredict command to enable massive, fast, batch predictions from a trained model. Read a multi-object JSON file as the input format, with one query object per line. Similarly, write results to a multi-object JSON file, with one prediction result + its original query per line.

      Currently getting bulk predictions from PredictionIO is possible with either:

      • a pio eval script, which will always train a fresh, unvalidated model before getting predictions
      • a custom script that hits the queries.json HTTP API, which is a serious bottleneck when requesting hundreds-of-thousands or millions of predictions

      Neither of these existing bulk-prediction hacks are adequate for the reasons mentioned.

      It's time for this use-case to be a firstclass command

      Pull request https://github.com/apache/incubator-predictionio/pull/412

      Attachments

        Issue Links

          Activity

            People

              marsikai Mars Hall
              marsikai Mars Hall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: