public class MiningModel 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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_2}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelExplanation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}LocalTransformations" minOccurs="0"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://www.dmg.org/PMML-4_2}Regression"/>
<element ref="{http://www.dmg.org/PMML-4_2}DecisionTree"/>
</choice>
<element ref="{http://www.dmg.org/PMML-4_2}Segmentation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}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_2}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 |
|---|
MiningModel() |
MiningModel(MiningFunctionType functionName,
MiningSchema miningSchema) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
MiningModel |
addEmbeddedModels(EmbeddedModel... embeddedModels) |
MiningModel |
addExtensions(Extension... extensions) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
List<EmbeddedModel> |
getEmbeddedModels()
Gets the value of the embeddedModels property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations 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.
|
Segmentation |
getSegmentation()
Gets the value of the segmentation property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
boolean |
hasEmbeddedModels() |
boolean |
hasExtensions() |
boolean |
isScorable()
Gets the value of the scorable property.
|
MiningModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
MiningModel |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
MiningModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
MiningModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
MiningModel |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
MiningModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
MiningModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
MiningModel |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
MiningModel |
setOutput(Output output)
Sets the value of the output property.
|
MiningModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
MiningModel |
setSegmentation(Segmentation segmentation)
Sets the value of the segmentation property.
|
MiningModel |
setTargets(Targets targets)
Sets the value of the targets property.
|
getLocator, setLocatorpublic MiningModel()
public MiningModel(MiningFunctionType functionName, MiningSchema miningSchema)
public String getModelName()
getModelName in class ModelStringpublic MiningModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic MiningModel setFunctionName(MiningFunctionType functionName)
setFunctionName in class ModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic MiningModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic boolean isScorable()
isScorable in class ModelBooleanpublic MiningModel 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 MiningModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public MiningModel setOutput(Output output)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic MiningModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic MiningModel setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic MiningModel setTargets(Targets targets)
setTargets in class Modeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic MiningModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic List<EmbeddedModel> getEmbeddedModels()
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 embeddedModels property.
For example, to add a new item, do as follows:
getEmbeddedModels().add(newItem);
Objects of the following type(s) are allowed in the list
Regression
DecisionTree
public Segmentation getSegmentation()
Segmentationpublic MiningModel setSegmentation(Segmentation segmentation)
segmentation - allowed object is
Segmentationpublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic MiningModel setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic MiningModel addExtensions(Extension... extensions)
public boolean hasEmbeddedModels()
public MiningModel addEmbeddedModels(EmbeddedModel... embeddedModels)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.