protected ActiveHNode newLearningNode() throws Exception {
  ActiveHNode newChild;
  if (m_leafStrategy == LEAF_MAJ_CLASS) {
    newChild=new ActiveHNode();
  }
 else   if (m_leafStrategy == LEAF_NB) {
    newChild=new NBNode(m_header,m_nbThreshold);
  }
 else {
    newChild=new NBNodeAdaptive(m_header,m_nbThreshold);
  }
  return newChild;
}

protected ActiveHNode newLearningNode ( ) throws Exception { ActiveHNode newChild ; if ( m_leafStrategy == LEAF_MAJ_CLASS ) { newChild = new ActiveHNode ( ) ; } else if ( m_leafStrategy == LEAF_NB ) { newChild = new NBNode ( m_header , m_nbThreshold ) ; } else { newChild = new NBNodeAdaptive ( m_header , m_nbThreshold ) ; } return newChild ; }
create a new learning node ( either majority class , naive bayes or naive bayes adaptive )
