java.io.Serializable
, MOAObject
IademGreenwaldKhannaQuantileSummary
public class GreenwaldKhannaQuantileSummary extends AbstractMOAObject
Modifier and Type | Class | Description |
---|---|---|
protected static class |
GreenwaldKhannaQuantileSummary.Tuple |
Modifier and Type | Field | Description |
---|---|---|
protected long |
numObservations |
|
protected int |
numTuples |
|
protected GreenwaldKhannaQuantileSummary.Tuple[] |
summary |
Constructor | Description |
---|---|
GreenwaldKhannaQuantileSummary(int maxTuples) |
Modifier and Type | Method | Description |
---|---|---|
void |
compress(long maxDelta) |
|
static long[] |
computeBandBoundaries(long maxDelta) |
|
protected void |
deleteMergeableTupleMostFull() |
|
protected void |
deleteTuple(int index) |
|
protected void |
deleteTupleMostFull() |
|
protected int |
findIndexOfTupleGreaterThan(double val) |
|
long |
findMaxDelta() |
|
long |
getCountBelow(double cutpoint) |
|
void |
getDescription(java.lang.StringBuilder sb,
int indent) |
Returns a string representation of this object.
|
double |
getPropotionBelow(double cutpoint) |
|
double |
getQuantile(double quant) |
|
double[] |
getSuggestedCutpoints() |
|
long |
getTotalCount() |
|
long |
getWorstError() |
|
void |
insert(double val) |
|
protected void |
insertTuple(GreenwaldKhannaQuantileSummary.Tuple t,
int index) |
copy, copy, measureByteSize, measureByteSize, toString
protected GreenwaldKhannaQuantileSummary.Tuple[] summary
protected int numTuples
protected long numObservations
public GreenwaldKhannaQuantileSummary(int maxTuples)
public void insert(double val)
protected void insertTuple(GreenwaldKhannaQuantileSummary.Tuple t, int index)
protected void deleteTuple(int index)
protected void deleteTupleMostFull()
protected void deleteMergeableTupleMostFull()
public long getWorstError()
public long findMaxDelta()
public void compress(long maxDelta)
public double getQuantile(double quant)
public long getTotalCount()
public double getPropotionBelow(double cutpoint)
public long getCountBelow(double cutpoint)
public double[] getSuggestedCutpoints()
protected int findIndexOfTupleGreaterThan(double val)
public static long[] computeBandBoundaries(long maxDelta)
public void getDescription(java.lang.StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string representation of the object.sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.