org.drools.pmml.pmml_4_2
Class PMMLGeneratorUtils
java.lang.Object
org.drools.pmml.pmml_4_2.PMMLGeneratorUtils
public class PMMLGeneratorUtils
- extends Object
|
Method Summary |
static PMML |
generateSimpleNeuralNetwork(String modelName,
String[] inputfieldNames,
String[] outputfieldNames,
double[] inputMeans,
double[] inputStds,
double[] outputMeans,
double[] outputStds,
int hiddenSize,
double[] weights)
|
static boolean |
streamPMML(PMML pmml,
OutputStream out)
|
static boolean |
streamPMML(PMML pmml,
Writer out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PMMLGeneratorUtils
public PMMLGeneratorUtils()
streamPMML
public static boolean streamPMML(PMML pmml,
OutputStream out)
streamPMML
public static boolean streamPMML(PMML pmml,
Writer out)
generateSimpleNeuralNetwork
public static PMML generateSimpleNeuralNetwork(String modelName,
String[] inputfieldNames,
String[] outputfieldNames,
double[] inputMeans,
double[] inputStds,
double[] outputMeans,
double[] outputStds,
int hiddenSize,
double[] weights)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.