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

Add normalDistribution, uniformDistribution, sample and kolmogorovSmirnov Stream Evaluators

    XMLWordPrintableJSON

Details

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

    Description

      This ticket digs deeper into probability distributions, which are a key foundation of statistics.

      Three new functions are introduced:

      1) normalDistribution: This is a distribution function which returns a normal distribution generator. It is designed to be used with both the sample and the kolmogorovSmirnov functions. Eventually a function will be added for every distribution supported by Apache Commons Math.

      2) sample: Returns array of numbers that conforms to a given distribution. You pass it a distribution function and size and it returns the array that conforms to the distribution.

      3) kolmogorovSmirnov: Performs a goodness of fit test for distributions. This function can will do both a one and two side test. The one sided test compares a sample to a distribution function. The two sided test compares two samples to see if that were pulled from the same distribution.

      Attachments

        1. SOLR-11160.patch
          29 kB
          Joel Bernstein
        2. SOLR-11160.patch
          18 kB
          Joel Bernstein
        3. SOLR-11160.patch
          11 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: