protected void updateStatsForConditionalDensityEstimator(ConditionalDensityEstimator classifier,Instance classMissing,double classValue) throws Exception {
  if (m_PriorEstimator == null) {
    setNumericPriorsFromBuffer();
  }
  m_SumSchemeEntropy-=classifier.logDensity(classMissing,classValue) * classMissing.weight() / Utils.log2;
  m_SumPriorEntropy-=m_PriorEstimator.logDensity(classValue) * classMissing.weight() / Utils.log2;
}

protected void updateStatsForConditionalDensityEstimator ( ConditionalDensityEstimator classifier , Instance classMissing , double classValue ) throws Exception { if ( m_PriorEstimator == null ) { setNumericPriorsFromBuffer ( ) ; } m_SumSchemeEntropy -= classifier . logDensity ( classMissing , classValue ) * classMissing . weight ( ) / Utils . log2 ; m_SumPriorEntropy -= m_PriorEstimator . logDensity ( classValue ) * classMissing . weight ( ) / Utils . log2 ; }
updates stats for conditional density estimator based on current test instance .
