@Override
 public void average(int numberOfIterations) {
   for (AveragedParameter parm : updatedParameters) parm.average(numberOfIterations);
 }
 @Override
 public void average(int numberOfIterations) {
   for (AveragedParameter parm : featureWeights.values()) parm.average(numberOfIterations);
 }