Class PMMLGeneratorUtils


  • public class PMMLGeneratorUtils
    extends Object
    • Constructor Detail

      • PMMLGeneratorUtils

        public PMMLGeneratorUtils()
    • Method Detail

      • streamPMML

        public static boolean streamPMML​(org.dmg.pmml.pmml_4_2.descr.PMML pmml,
                                         OutputStream out)
      • streamPMML

        public static boolean streamPMML​(org.dmg.pmml.pmml_4_2.descr.PMML pmml,
                                         Writer out)
      • generateSimpleNeuralNetwork

        public static org.dmg.pmml.pmml_4_2.descr.PMML generateSimpleNeuralNetwork​(String modelName,
                                                                                   String[] inputfieldNames,
                                                                                   String[] outputfieldNames,
                                                                                   double[] inputMeans,
                                                                                   double[] inputStds,
                                                                                   double[] outputMeans,
                                                                                   double[] outputStds,
                                                                                   int hiddenSize,
                                                                                   double[] weights)