public static class CSVToARFFHeaderMapTask.HeaderAndQuantileDataHolder
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
HeaderAndQuantileDataHolder(weka.core.Instances header,
java.util.Map<java.lang.String,TDigest> quantileEstimators)
Constructor
|
Modifier and Type | Method and Description |
---|---|
weka.core.Instances |
getHeader()
Get the header
|
TDigest |
getQuantileEstimator(java.lang.String attributeName)
Return a decoded TDigest quantile estimator
|
public HeaderAndQuantileDataHolder(weka.core.Instances header, java.util.Map<java.lang.String,TDigest> quantileEstimators)
header
- the header with summary attributesquantileEstimators
- a map of TDigest quantile estimators keyed by
attribute namepublic weka.core.Instances getHeader()
public TDigest getQuantileEstimator(java.lang.String attributeName) throws DistributedWekaException
attributeName
- the name of the attribute to get the estimator forDistributedWekaException
- if there are no quantile estimators or
the named one is not in the map