jhplot
Class H1DA
- All Implemented Interfaces:
- Serializable
public class H1DAextends 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()
String
toString()
Methods inherited from class com.flaptor.hist4j.AdaptiveHistogram
addValue, getAccumCount, getCount, getValueForPercentile, normalize, reset, show, toTable
DMelt 2.7 © DataMelt by jWork.ORG