public void updateStatistics(Instance instance) {
		super.updateStatistics(instance);
		this.perceptron.trainOnInstance(instance);
		if (this.predictionFunction != 1) { //Train target mean if prediction function is not Perceptron
			this.targetMean.trainOnInstance(instance);
		}
	}
public void updateStatistics ( Instance instance ) { super . updateStatistics ( instance ) ; this . perceptron . trainOnInstance ( instance ) ; if ( this . predictionFunction != 1 ) { this . targetMean . trainOnInstance ( instance ) ; } }
/* (non-Javadoc)
@see moa.classifiers.rules.RuleActiveLearningNodeInterface#updateStatistics(weka.core.Instance)