public static class PrecisionRecallStateFactory.GroupedState extends AbstractGroupedAccumulatorState implements PrecisionRecallState
Constructor and Description |
---|
GroupedState() |
Modifier and Type | Method and Description |
---|---|
void |
ensureCapacity(long size) |
long |
getEstimatedSize() |
FixedDoubleHistogram |
getFalseWeights() |
FixedDoubleHistogram |
getTrueWeights() |
void |
setFalseWeights(FixedDoubleHistogram histogram) |
void |
setTrueWeights(FixedDoubleHistogram histogram) |
getGroupId, setGroupId
public void ensureCapacity(long size)
ensureCapacity
in interface GroupedAccumulatorState
public void setTrueWeights(FixedDoubleHistogram histogram)
setTrueWeights
in interface PrecisionRecallState
public FixedDoubleHistogram getTrueWeights()
getTrueWeights
in interface PrecisionRecallState
public void setFalseWeights(FixedDoubleHistogram histogram)
setFalseWeights
in interface PrecisionRecallState
public FixedDoubleHistogram getFalseWeights()
getFalseWeights
in interface PrecisionRecallState
public long getEstimatedSize()
getEstimatedSize
in interface AccumulatorState
Copyright © 2012–2022. All rights reserved.