public class KiePMMLRegressionTableRegressionFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
KIE_PMML_REGRESSION_TABLE_REGRESSION_TEMPLATE_JAVA |
| Modifier and Type | Method and Description |
|---|---|
protected static com.github.javaparser.ast.body.MethodDeclaration |
addMethod(com.github.javaparser.ast.body.MethodDeclaration methodTemplate,
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration tableTemplate,
String evaluateMethodName)
Add a
MethodDeclaration to the class |
static Map.Entry<String,String> |
getRegressionTable(com.github.javaparser.ast.CompilationUnit templateCU,
org.dmg.pmml.regression.RegressionTable regressionTable,
org.dmg.pmml.regression.RegressionModel.NormalizationMethod normalizationMethod,
String targetField,
String packageName) |
static Map<String,KiePMMLTableSourceCategory> |
getRegressionTables(List<org.dmg.pmml.regression.RegressionTable> regressionTables,
org.dmg.pmml.regression.RegressionModel.NormalizationMethod normalizationMethod,
String targetField,
String packageName) |
protected static void |
populateGetTargetCategory(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration tableTemplate,
Object targetCategory)
Populate the getTargetCategory method of the class
|
protected static void |
populateUpdateResult(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration tableTemplate,
org.dmg.pmml.regression.RegressionModel.NormalizationMethod normalizationMethod)
Populate the getTargetCategory method of the class
|
public static final String KIE_PMML_REGRESSION_TABLE_REGRESSION_TEMPLATE_JAVA
public static Map<String,KiePMMLTableSourceCategory> getRegressionTables(List<org.dmg.pmml.regression.RegressionTable> regressionTables, org.dmg.pmml.regression.RegressionModel.NormalizationMethod normalizationMethod, String targetField, String packageName) throws IOException
IOExceptionpublic static Map.Entry<String,String> getRegressionTable(com.github.javaparser.ast.CompilationUnit templateCU, org.dmg.pmml.regression.RegressionTable regressionTable, org.dmg.pmml.regression.RegressionModel.NormalizationMethod normalizationMethod, String targetField, String packageName)
protected static com.github.javaparser.ast.body.MethodDeclaration addMethod(com.github.javaparser.ast.body.MethodDeclaration methodTemplate,
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration tableTemplate,
String evaluateMethodName)
MethodDeclaration to the classmethodTemplate - tableTemplate - evaluateMethodName - protected static void populateGetTargetCategory(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration tableTemplate,
Object targetCategory)
tableTemplate - targetCategory - protected static void populateUpdateResult(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration tableTemplate,
org.dmg.pmml.regression.RegressionModel.NormalizationMethod normalizationMethod)
tableTemplate - normalizationMethod - Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.