Documentation of 'jhplot.H1DA' Java class.
H1DA
jhplot

Class H1DA

  • All Implemented Interfaces:
    java.io.Serializable


    public class H1DA
    extends AdaptiveHistogram
    Adaptive histogram in one dimension (1D). This class implements a histogram that adapts to an unknown data distribution. It keeps a more or less constant resolution throughout the data range by increasing the resolution where the data is more dense. For example, if the data has such such a distribution that most of the values lie in the 0-5 range and only a few are in the 5-10 range, the histogram would adapt and assign more counting buckets to the 0-5 range and less to the 5-10 range. This implementation provides a method to obtain the accumulative density function for a given data point, and a method to obtain the data point that splits the data set at a given percentile.
    See Also:
    Serialized Form
    • Constructor Detail

      • H1DA

        public H1DA()
        Create addaptive histogram.
    • Method Detail

      • print

        public void print()
      • fill

        public void fill(float value)
        Adds a data point to the histogram.
        Parameters:
        value - the data point to add.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG