LearningConcept lc = null;
if(c instanceof LearningConcept)
lc = (LearningConcept) c;
if(lc != null && lc.isOutput()){
OutputLearningConcept oc = (OutputLearningConcept) lc;
oc.setDesirableOutput(e1.getValue());
sum += oc.getDesirableOutput() - oc.getOutput().doubleValue();
}
}
double mean_error = sum / outputs.size();
//logger.debug("The sum error is: "+mean_error);