public class RuleSetModel extends Model implements HasExtensions
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_3}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelExplanation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}RuleSet"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelVerification" minOccurs="0"/>
</sequence>
<attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_3}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
RuleSetModel() |
RuleSetModel(MiningFunction miningFunction,
MiningSchema miningSchema,
RuleSet ruleSet) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
RuleSetModel |
addExtensions(Extension... extensions) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
MiningFunction |
getMiningFunction()
Gets the value of the miningFunction property.
|
MiningSchema |
getMiningSchema()
Gets the value of the miningSchema property.
|
ModelExplanation |
getModelExplanation()
Gets the value of the modelExplanation property.
|
String |
getModelName()
Gets the value of the modelName property.
|
ModelStats |
getModelStats()
Gets the value of the modelStats property.
|
ModelVerification |
getModelVerification()
Gets the value of the modelVerification property.
|
Output |
getOutput()
Gets the value of the output property.
|
RuleSet |
getRuleSet()
Gets the value of the ruleSet property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
boolean |
hasExtensions() |
boolean |
isScorable()
Gets the value of the scorable property.
|
RuleSetModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
RuleSetModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
RuleSetModel |
setMiningFunction(MiningFunction miningFunction)
Sets the value of the miningFunction property.
|
RuleSetModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
RuleSetModel |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
RuleSetModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
RuleSetModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
RuleSetModel |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
RuleSetModel |
setOutput(Output output)
Sets the value of the output property.
|
RuleSetModel |
setRuleSet(RuleSet ruleSet)
Sets the value of the ruleSet property.
|
RuleSetModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
RuleSetModel |
setTargets(Targets targets)
Sets the value of the targets property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic RuleSetModel()
public RuleSetModel(MiningFunction miningFunction, MiningSchema miningSchema, RuleSet ruleSet)
public String getModelName()
getModelName in class ModelStringpublic RuleSetModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunction getMiningFunction()
getMiningFunction in class ModelMiningFunctionpublic RuleSetModel setMiningFunction(MiningFunction miningFunction)
setMiningFunction in class ModelminingFunction - allowed object is
MiningFunctionpublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic RuleSetModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic boolean isScorable()
isScorable in class ModelBooleanpublic RuleSetModel setScorable(Boolean scorable)
setScorable in class Modelscorable - allowed object is
Booleanpublic List<Extension> getExtensions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
getExtensions in interface HasExtensionspublic MiningSchema getMiningSchema()
getMiningSchema in class ModelMiningSchemapublic RuleSetModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public RuleSetModel setOutput(Output output)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic RuleSetModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic RuleSetModel setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic RuleSetModel setTargets(Targets targets)
setTargets in class Modeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic RuleSetModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic RuleSet getRuleSet()
RuleSetpublic RuleSetModel setRuleSet(RuleSet ruleSet)
ruleSet - allowed object is
RuleSetpublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic RuleSetModel setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic RuleSetModel addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.