private static Normalization determineNormalization(Element model){
  Normalization normMethod=Normalization.NONE;
  String normName=model.getAttribute("normalizationMethod");
  if (normName.equals("simplemax")) {
    normMethod=Normalization.SIMPLEMAX;
  }
 else   if (normName.equals("softmax")) {
    normMethod=Normalization.SOFTMAX;
  }
 else   if (normName.equals("logit")) {
    normMethod=Normalization.LOGIT;
  }
 else   if (normName.equals("probit")) {
    normMethod=Normalization.PROBIT;
  }
 else   if (normName.equals("cloglog")) {
    normMethod=Normalization.CLOGLOG;
  }
 else   if (normName.equals("exp")) {
    normMethod=Normalization.EXP;
  }
 else   if (normName.equals("loglog")) {
    normMethod=Normalization.LOGLOG;
  }
 else   if (normName.equals("cauchit")) {
    normMethod=Normalization.CAUCHIT;
  }
  return normMethod;
}

private static Normalization determineNormalization ( Element model ) { Normalization normMethod = Normalization . NONE ; String normName = model . getAttribute ( "normalizationMethod" ) ; if ( normName . equals ( "simplemax" ) ) { normMethod = Normalization . SIMPLEMAX ; } else if ( normName . equals ( "softmax" ) ) { normMethod = Normalization . SOFTMAX ; } else if ( normName . equals ( "logit" ) ) { normMethod = Normalization . LOGIT ; } else if ( normName . equals ( "probit" ) ) { normMethod = Normalization . PROBIT ; } else if ( normName . equals ( "cloglog" ) ) { normMethod = Normalization . CLOGLOG ; } else if ( normName . equals ( "exp" ) ) { normMethod = Normalization . EXP ; } else if ( normName . equals ( "loglog" ) ) { normMethod = Normalization . LOGLOG ; } else if ( normName . equals ( "cauchit" ) ) { normMethod = Normalization . CAUCHIT ; } return normMethod ; }
return the type of normalization used for this regression
