Github user cestella commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/401#discussion_r93523813
  
    --- Diff: metron-analytics/metron-statistics/README.md ---
    @@ -112,6 +112,13 @@ functions can be used from everywhere where Stellar is 
used.
       * Input:
         * stats - The Stellar statistics object
       * Returns: The variance of the values in the window or NaN if the 
statistics object is null.
    +* `STATS_BIN`
    +  * Description: Computes the bin that the value is in based on the 
statistical distribution. 
    +  * Input:
    +    * stats - The Stellar statistics object
    +    * value - The value to bin
    +    * range? - A list of percentile bin ranges (excluding min and max) or 
a string representing a known and common set of bins.  For convenience, we have 
provided QUARTILE, QUINTILE, and DECILE which you can pass in as a string arg. 
If this argument is omitted, then we assume a Quartile bin split.
    --- End diff --
    
    It would, for sure, but probably not called `STATS_BIN`.  I was thinking of 
adding a proper `BIN` function as a follow-on and refactoring this one to use 
it.  Or do you think we should just bite the bullet and create it all here?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to