org.drools.pmml.pmml_4_2
Class PMML4Compiler
java.lang.Object
org.drools.pmml.pmml_4_2.PMML4Compiler
- All Implemented Interfaces:
- org.drools.compiler.compiler.PMMLCompiler, org.kie.api.Service
public class PMML4Compiler
- extends Object
- implements org.drools.compiler.compiler.PMMLCompiler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PMML_NAMESPACE
public static final String PMML_NAMESPACE
- See Also:
- Constant Field Values
PMML_DROOLS
public static final String PMML_DROOLS
- See Also:
- Constant Field Values
PMML
public static final String PMML
- See Also:
- Constant Field Values
SCHEMA_PATH
public static final String SCHEMA_PATH
- See Also:
- Constant Field Values
BASE_PACK
public static final String BASE_PACK
globalLoaded
protected static boolean globalLoaded
GLOBAL_TEMPLATES
protected static final String[] GLOBAL_TEMPLATES
transformationLoaded
protected static boolean transformationLoaded
TRANSFORMATION_TEMPLATES
protected static final String[] TRANSFORMATION_TEMPLATES
miningLoaded
protected static boolean miningLoaded
MINING_TEMPLATES
protected static final String[] MINING_TEMPLATES
neuralLoaded
protected static boolean neuralLoaded
NEURAL_TEMPLATES
protected static final String[] NEURAL_TEMPLATES
svmLoaded
protected static boolean svmLoaded
SVM_TEMPLATES
protected static final String[] SVM_TEMPLATES
naiveBayesLoaded
protected static boolean naiveBayesLoaded
NAIVE_BAYES_TEMPLATES
protected static final String[] NAIVE_BAYES_TEMPLATES
simpleRegLoaded
protected static boolean simpleRegLoaded
SIMPLEREG_TEMPLATES
protected static final String[] SIMPLEREG_TEMPLATES
clusteringLoaded
protected static boolean clusteringLoaded
CLUSTERING_TEMPLATES
protected static final String[] CLUSTERING_TEMPLATES
treeLoaded
protected static boolean treeLoaded
TREE_TEMPLATES
protected static final String[] TREE_TEMPLATES
scorecardLoaded
protected static boolean scorecardLoaded
SCORECARD_TEMPLATES
protected static final String[] SCORECARD_TEMPLATES
RESOURCE_PATH
protected static final String RESOURCE_PATH
TEMPLATE_PATH
protected static final String TEMPLATE_PATH
PMML4Compiler
public PMML4Compiler()
getHelper
public PMML4Helper getHelper()
generateTheory
public String generateTheory(PMML pmml)
compile
public String compile(String resource,
ClassLoader classLoader)
transform
public org.kie.api.io.Resource[] transform(org.kie.api.io.Resource resource,
ClassLoader classLoader)
compile
public String compile(InputStream source,
ClassLoader classLoader)
- Specified by:
compile in interface org.drools.compiler.compiler.PMMLCompiler
getResults
public List<org.kie.internal.builder.KnowledgeBuilderResult> getResults()
- Specified by:
getResults in interface org.drools.compiler.compiler.PMMLCompiler
clearResults
public void clearResults()
- Specified by:
clearResults in interface org.drools.compiler.compiler.PMMLCompiler
dump
public void dump(String s,
OutputStream ostream)
loadModel
public PMML loadModel(String model,
InputStream source)
- Imports a PMML source file, returning a Java descriptor
- Parameters:
model - the PMML package name (classes derived from a specific schema)source - the name of the PMML resource storing the predictive model
- Returns:
- the Java Descriptor of the PMML resource
dumpModel
public static void dumpModel(PMML model,
OutputStream target)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.