final double x = obs.getClassId();
RingAccumulator<MutableDouble> classificationRate = new RingAccumulator<MutableDouble>();
for (T state : distribution.getDomain()) {
final double wfErr = (x == state.getClassId()) ?
distribution.getFraction(state) : 0d;
classificationRate.accumulate(new MutableDouble(wfErr));
}
runningRate.accumulate(new MutableDouble(classificationRate.getSum()));
ResampleType resampleType = distribution.getMaxValueKey().getResampleType();
String[] wfClassLine = {
Integer.toString(replication),
Long.toString(obs.getTime()),