public class RiskModelHistogram
extends java.lang.Object
Constructor and Description |
---|
RiskModelHistogram(com.carrotsearch.hppc.IntIntOpenHashMap distribution)
Creates a new instance from the given distribution.
|
Modifier and Type | Method and Description |
---|---|
double |
getAvgClassSize()
Returns a property of the class distribution
|
int[] |
getHistogram()
Returns class-size[idx], class-count[idx+1],... ordered ascending by
class size
|
double |
getNumClasses()
Returns a property of the class distribution
|
double |
getNumRecords()
Returns a property of the class distribution
|
boolean |
isEmpty()
Returns whether the histogram is empty
|
public RiskModelHistogram(com.carrotsearch.hppc.IntIntOpenHashMap distribution)
distribution
- public double getAvgClassSize()
public int[] getHistogram()
public double getNumClasses()
public double getNumRecords()
public boolean isEmpty()