private static MetaModel createModelDef() {
   MetaModel def = new MetaModel(ModelType.regression, ModelName.RBFNetwork);
   def.getParameters().add(new MetaParameter("distance", Metric.class, DEFAULT_DISTANCE, false));
   def.getParameters()
       .add(
           new MetaParameter(
               "rbfunc", RadialBasisFunction.class, DEFAULT_RADIAL_BASIS_FUNCTION, false));
   def.getParameters().add(new MetaParameter("centers", double[][].class, null, true));
   def.getParameters()
       .add(new MetaParameter("normalized", Boolean.class, DEFAULT_NORMALIZED, false));
   return def;
 }
 private static MetaModel createModelDef() {
   MetaModel def = new MetaModel(ModelType.classification, ModelName.RDA);
   def.getParameters().add(new MetaParameter("alpha", Double.class, DEFAULT_ALPHA, false));
   return def;
 }