Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11863

Add knnRegress Stream Evaluator to support nearest neighbor regression

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 7.5, 8.0
    • None
    • None

    Description

      This ticket adds the knnRegress Stream Evaluator to add support for nearest neighbor regression to the Streaming Expressions machine learning library.

      Sample syntax:

      let(sample=random(collection1, q=":", rows=10000, fl="response_d, filesize_d, service_d"),
          filesizes=col(sample, filesize_d),
          responses=col(sample, response_d),
          serviceLevels=col(sample, service_d),
          observations=transpose(matrix(filesizes, responses)),
          model=knnRegress(observations, serviceLevels, 10),
          prediction=predict(model, array(36365, 645)))

       

      Attachments

        1. SOLR-11863.patch
          9 kB
          Joel Bernstein
        2. SOLR-11863.patch
          14 kB
          Joel Bernstein
        3. SOLR-11863.patch
          21 kB
          Joel Bernstein

        Issue Links

          Activity

            People

              jbernste Joel Bernstein
              jbernste Joel Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: