}
try {
// initialize classifier if m_trainingSet is null
// otherwise assume that classifier has been pre-trained in batch
// mode, *if* headers match
if (m_trainingSet == null || (!dataset.equalHeaders(m_trainingSet))) {
if (!(m_Classifier instanceof
weka.classifiers.UpdateableClassifier)) {
if (m_log != null) {
String msg = (m_trainingSet == null)
? "ERROR : "+m_Classifier.getClass().getName()