if (name.equalsIgnoreCase(MLActivationFactory.AF_BIPOLAR)) {
return new ActivationBiPolar();
}
if (name.equalsIgnoreCase(MLActivationFactory.AF_COMPETITIVE)) {
return new ActivationCompetitive();
}
if (name.equalsIgnoreCase(MLActivationFactory.AF_GAUSSIAN)) {
return new ActivationGaussian();
}