jhplot
Class H1DA
- java.lang.Object
-
- com.flaptor.hist4j.AdaptiveHistogram
-
- jhplot.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 Summary
Constructors Constructor and Description H1DA()
Create addaptive histogram.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
fill(float value)
Adds a data point to the histogram.void
print()
java.lang.String
toString()
-
Methods inherited from class com.flaptor.hist4j.AdaptiveHistogram
addValue, getAccumCount, getCount, getValueForPercentile, normalize, reset, show, toTable
-
-
DMelt 3.0 © DataMelt by jWork.ORG