code: public int getLearnerToUse(int predMode) {
  		int predictionMode = predMode;
  		if (predictionMode == 0) {
  			double perceptronError= this.perceptron.getCurrentError();
  			double meanTargetError =this.targetMean.getCurrentError();
  			if (perceptronError < meanTargetError)
  				predictionMode = 1; //PERCEPTRON
  			else
  				predictionMode = 2; //TARGET MEAN
  		}
  		return predictionMode;
  	}
docs: /*
  Get learner mode