public class Miningmodel extends AbstractModel<org.dmg.pmml.pmml_4_2.descr.MiningModel>
externalMiningFields, helper, MINING_TEMPLATE_NAME, miningFieldMap, OUTPUT_TEMPLATE_NAME, outputFieldMap, PMML_JAVA_PACKAGE_NAME, rawModel, RULE_UNIT_TEMPLATE_NAME, templateRegistry
Constructor and Description |
---|
Miningmodel(String modelId,
org.dmg.pmml.pmml_4_2.descr.MiningModel model,
PMML4Model parentModel,
PMML4Unit owner) |
Modifier and Type | Method and Description |
---|---|
protected void |
addMiningTemplateToRegistry(org.mvel2.templates.TemplateRegistry registry) |
protected void |
addOutputTemplateToRegistry(org.mvel2.templates.TemplateRegistry registry) |
protected void |
addRuleUnitTemplateToRegistry(org.mvel2.templates.TemplateRegistry registry) |
PMMLOutputField |
findOutputField(String fieldName) |
String |
generateRules() |
String |
getAlgorithmName() |
Map<String,PMML4Model> |
getChildModels()
Default method returns an empty Map
|
org.dmg.pmml.pmml_4_2.descr.MININGFUNCTION |
getFunctionName() |
List<PMMLMiningField> |
getMiningFields() |
String |
getMiningPojoClassName() |
org.dmg.pmml.pmml_4_2.descr.MiningSchema |
getMiningSchema() |
org.dmg.pmml.pmml_4_2.descr.Output |
getOutput() |
String |
getOutputPojoClassName() |
String |
getRuleUnitClassName() |
MiningSegmentation |
getSegmentation() |
String |
getTargetField() |
protected void |
initChildModels() |
boolean |
isScoreable() |
void |
setAlgorithmName(String algorithmName) |
void |
setFunctionName(org.dmg.pmml.pmml_4_2.descr.MININGFUNCTION functionName) |
void |
setScoreable(boolean scoreable) |
findMiningField, getActiveMiningFields, getDataDictionary, getExternalBeansMiningRules, getExternalClassInfo, getExternalMiningClasses, getExternalMiningFields, getFilteredMiningFieldMap, getMappedMiningPojo, getMappedOutputPojo, getMappedRuleUnit, getMiningFieldMap, getMiningPojoTemplateName, getModelId, getModelPackageName, getModelRuleUnitName, getModelType, getOutputFieldMap, getOutputFields, getOutputPojoTemplateName, getOwner, getParentModel, getRawMiningFields, getRawModel, getRawOutputFields, getRuleUnitTemplateName, getValidMiningField, initFieldMaps, initMiningFieldMap, initOutputFieldMap, isUseExternalBeanRefs, setParentModel
public Miningmodel(String modelId, org.dmg.pmml.pmml_4_2.descr.MiningModel model, PMML4Model parentModel, PMML4Unit owner)
public Map<String,PMML4Model> getChildModels()
AbstractModel
getChildModels
in interface PMML4Model
getChildModels
in class AbstractModel<org.dmg.pmml.pmml_4_2.descr.MiningModel>
protected void initChildModels()
public String getTargetField()
public PMMLOutputField findOutputField(String fieldName)
findOutputField
in interface PMML4Model
findOutputField
in class AbstractModel<org.dmg.pmml.pmml_4_2.descr.MiningModel>
public List<PMMLMiningField> getMiningFields()
getMiningFields
in interface PMML4Model
getMiningFields
in class AbstractModel<org.dmg.pmml.pmml_4_2.descr.MiningModel>
public String getMiningPojoClassName()
public String getOutputPojoClassName()
public String getRuleUnitClassName()
public org.dmg.pmml.pmml_4_2.descr.MiningSchema getMiningSchema()
public org.dmg.pmml.pmml_4_2.descr.Output getOutput()
protected void addMiningTemplateToRegistry(org.mvel2.templates.TemplateRegistry registry)
addMiningTemplateToRegistry
in class AbstractModel<org.dmg.pmml.pmml_4_2.descr.MiningModel>
protected void addOutputTemplateToRegistry(org.mvel2.templates.TemplateRegistry registry)
addOutputTemplateToRegistry
in class AbstractModel<org.dmg.pmml.pmml_4_2.descr.MiningModel>
protected void addRuleUnitTemplateToRegistry(org.mvel2.templates.TemplateRegistry registry)
addRuleUnitTemplateToRegistry
in class AbstractModel<org.dmg.pmml.pmml_4_2.descr.MiningModel>
public org.dmg.pmml.pmml_4_2.descr.MININGFUNCTION getFunctionName()
public void setFunctionName(org.dmg.pmml.pmml_4_2.descr.MININGFUNCTION functionName)
public String getAlgorithmName()
public void setAlgorithmName(String algorithmName)
public boolean isScoreable()
public void setScoreable(boolean scoreable)
public MiningSegmentation getSegmentation()
public String generateRules()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.