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

Add normalDistribution, uniformDistribution, sample and kolmogorovSmirnov Stream Evaluators


    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 7.1, master (8.0)
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:


      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.


        1. SOLR-11160.patch
          11 kB
          Joel Bernstein
        2. SOLR-11160.patch
          18 kB
          Joel Bernstein
        3. SOLR-11160.patch
          29 kB
          Joel Bernstein

          Issue Links



              • Assignee:
                joel.bernstein Joel Bernstein
                joel.bernstein Joel Bernstein
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: