tdigest | Ruby implementation of Dunning 's T-Digest

 by   castle Ruby Version: 0.1.1 License: MIT

kandi X-RAY | tdigest Summary

kandi X-RAY | tdigest Summary

tdigest is a Ruby library. tdigest has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Ruby implementation of Ted Dunning's t-digest data structure. Inspired by the Javascript implementation by Will Welch.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tdigest has a low active ecosystem.
              It has 14 star(s) with 5 fork(s). There are 10 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 0 have been closed. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of tdigest is 0.1.1

            kandi-Quality Quality

              tdigest has no bugs reported.

            kandi-Security Security

              tdigest has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              tdigest is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              tdigest releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed tdigest and discovered the below as its top functions. This is intended to give you an instant insight into tdigest implemented functionality, and help decide if they suit your requirements.
            • Persist the given vector to a vector .
            • Returns an array of percentile values
            • Calculates the average of values of a given array .
            • Convert binary string to binary size .
            • Returns the maximum average of the average of the average value of the given row .
            • Calculate the baseline of the dataset .
            • Find the nearest ancestor within a given latitude .
            • Add the given distance to the given distance
            • Serialize a binary string
            • Returns a new centroid with the given distance
            Get all kandi verified functions for this library.

            tdigest Key Features

            No Key Features are available at this moment for tdigest.

            tdigest Examples and Code Snippets

            Tdigest,Usage
            Rubydot img1Lines of Code : 9dot img1License : Permissive (MIT)
            copy iconCopy
            td = ::TDigest::TDigest.new
            1_000.times { td.push(rand) }
            td.compress!
            
            puts td.percentile(0.5)
            puts td.p_rank(0.95)
            
            bytes = tdigest.as_bytes
            
            bytes = tdigest.as_small_bytes
            
             tdigest = TDigest::TDigest.from_bytes(bytes)
              
            Tdigest,Installation
            Rubydot img2Lines of Code : 3dot img2License : Permissive (MIT)
            copy iconCopy
            gem 'tdigest'
            
            $ bundle
            
            $ gem install tdigest
              

            Community Discussions

            QUESTION

            Is there a way to sort percentile aggregation by 'order' field is Elasticsearch?
            Asked 2021-Jan-05 at 09:32

            I'm trying to order sub aggregation of percentile by order field (when I run it on avg/sum aggregation it works)

            ...

            ANSWER

            Answered 2021-Jan-05 at 09:32

            The documentation contains guides on how to sort by multi-value aggregation https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#search-aggregations-bucket-terms-aggregation-order

            Ordering the buckets by multi value metrics sub-aggregation (identified by the aggregation name):

            Source https://stackoverflow.com/questions/65575789

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tdigest

            Add this line to your application's Gemfile:.

            Support

            Bug reports and pull requests are welcome on GitHub at https://github.com/castle/tdigest.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link