public class ClusteringModel 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}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ComparisonMeasure"/>
<element ref="{http://www.dmg.org/PMML-4_2}ClusteringField" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_2}CenterFields" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}MissingValueWeights" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Cluster" maxOccurs="unbounded"/>
<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="modelClass" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="centerBased"/>
<enumeration value="distributionBased"/>
</restriction>
</simpleType>
</attribute>
<attribute name="numberOfClusters" use="required" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusteringModel.ModelClass
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algorithmName |
protected CenterFields |
centerFields |
protected java.util.List<ClusteringField> |
clusteringFields |
protected java.util.List<Cluster> |
clusters |
protected ComparisonMeasure |
comparisonMeasure |
protected java.util.List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected LocalTransformations |
localTransformations |
protected MiningSchema |
miningSchema |
protected MissingValueWeights |
missingValueWeights |
protected ClusteringModel.ModelClass |
modelClass |
protected ModelExplanation |
modelExplanation |
protected java.lang.String |
modelName |
protected ModelStats |
modelStats |
protected ModelVerification |
modelVerification |
protected java.lang.Integer |
numberOfClusters |
protected Output |
output |
protected java.lang.Boolean |
scorable |
| Constructor and Description |
|---|
ClusteringModel() |
ClusteringModel(MiningFunctionType functionName,
ClusteringModel.ModelClass modelClass,
java.lang.Integer numberOfClusters,
MiningSchema miningSchema,
ComparisonMeasure comparisonMeasure,
java.util.List<ClusteringField> clusteringFields,
java.util.List<Cluster> clusters) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
CenterFields |
getCenterFields()
Gets the value of the centerFields property.
|
java.util.List<ClusteringField> |
getClusteringFields()
Gets the value of the clusteringFields property.
|
java.util.List<Cluster> |
getClusters()
Gets the value of the clusters property.
|
ComparisonMeasure |
getComparisonMeasure()
Gets the value of the comparisonMeasure property.
|
java.util.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.
|
MissingValueWeights |
getMissingValueWeights()
Gets the value of the missingValueWeights property.
|
ClusteringModel.ModelClass |
getModelClass()
Gets the value of the modelClass property.
|
ModelExplanation |
getModelExplanation()
Gets the value of the modelExplanation property.
|
java.lang.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.
|
java.lang.Integer |
getNumberOfClusters()
Gets the value of the numberOfClusters property.
|
Output |
getOutput()
Gets the value of the output property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
boolean |
hasClusteringFields() |
boolean |
hasClusters() |
boolean |
hasExtensions() |
boolean |
isScorable()
Gets the value of the scorable property.
|
void |
setAlgorithmName(java.lang.String value)
Sets the value of the algorithmName property.
|
void |
setCenterFields(CenterFields value)
Sets the value of the centerFields property.
|
void |
setComparisonMeasure(ComparisonMeasure value)
Sets the value of the comparisonMeasure property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setMiningSchema(MiningSchema value)
Sets the value of the miningSchema property.
|
void |
setMissingValueWeights(MissingValueWeights value)
Sets the value of the missingValueWeights property.
|
void |
setModelClass(ClusteringModel.ModelClass value)
Sets the value of the modelClass property.
|
void |
setModelExplanation(ModelExplanation value)
Sets the value of the modelExplanation property.
|
void |
setModelName(java.lang.String value)
Sets the value of the modelName property.
|
void |
setModelStats(ModelStats value)
Sets the value of the modelStats property.
|
void |
setModelVerification(ModelVerification value)
Sets the value of the modelVerification property.
|
void |
setNumberOfClusters(java.lang.Integer value)
Sets the value of the numberOfClusters property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setScorable(java.lang.Boolean value)
Sets the value of the scorable property.
|
void |
setTargets(Targets targets)
Sets the value of the targets property.
|
ClusteringModel |
withAlgorithmName(java.lang.String value) |
ClusteringModel |
withCenterFields(CenterFields value) |
ClusteringModel |
withClusteringFields(ClusteringField... values) |
ClusteringModel |
withClusteringFields(java.util.Collection<ClusteringField> values) |
ClusteringModel |
withClusters(Cluster... values) |
ClusteringModel |
withClusters(java.util.Collection<Cluster> values) |
ClusteringModel |
withComparisonMeasure(ComparisonMeasure value) |
ClusteringModel |
withExtensions(java.util.Collection<Extension> values) |
ClusteringModel |
withExtensions(Extension... values) |
ClusteringModel |
withFunctionName(MiningFunctionType value) |
ClusteringModel |
withLocalTransformations(LocalTransformations value) |
ClusteringModel |
withMiningSchema(MiningSchema value) |
ClusteringModel |
withMissingValueWeights(MissingValueWeights value) |
ClusteringModel |
withModelClass(ClusteringModel.ModelClass value) |
ClusteringModel |
withModelExplanation(ModelExplanation value) |
ClusteringModel |
withModelName(java.lang.String value) |
ClusteringModel |
withModelStats(ModelStats value) |
ClusteringModel |
withModelVerification(ModelVerification value) |
ClusteringModel |
withNumberOfClusters(java.lang.Integer value) |
ClusteringModel |
withOutput(Output value) |
ClusteringModel |
withScorable(java.lang.Boolean value) |
getLocator, setLocatorprotected java.lang.String modelName
protected MiningFunctionType functionName
protected java.lang.String algorithmName
protected ClusteringModel.ModelClass modelClass
protected java.lang.Integer numberOfClusters
protected java.lang.Boolean scorable
protected java.util.List<Extension> extensions
protected MiningSchema miningSchema
protected Output output
protected ModelStats modelStats
protected ModelExplanation modelExplanation
protected LocalTransformations localTransformations
protected ComparisonMeasure comparisonMeasure
protected java.util.List<ClusteringField> clusteringFields
protected CenterFields centerFields
protected MissingValueWeights missingValueWeights
protected java.util.List<Cluster> clusters
protected ModelVerification modelVerification
public ClusteringModel()
public ClusteringModel(MiningFunctionType functionName, ClusteringModel.ModelClass modelClass, java.lang.Integer numberOfClusters, MiningSchema miningSchema, ComparisonMeasure comparisonMeasure, java.util.List<ClusteringField> clusteringFields, java.util.List<Cluster> clusters)
public java.lang.String getModelName()
getModelName in class ModelStringpublic void setModelName(java.lang.String value)
setModelName in class Modelvalue - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic void setFunctionName(MiningFunctionType value)
setFunctionName in class Modelvalue - allowed object is
MiningFunctionTypepublic java.lang.String getAlgorithmName()
getAlgorithmName in class ModelStringpublic void setAlgorithmName(java.lang.String value)
setAlgorithmName in class Modelvalue - allowed object is
Stringpublic ClusteringModel.ModelClass getModelClass()
ClusteringModel.ModelClasspublic void setModelClass(ClusteringModel.ModelClass value)
value - allowed object is
ClusteringModel.ModelClasspublic java.lang.Integer getNumberOfClusters()
Stringpublic void setNumberOfClusters(java.lang.Integer value)
value - allowed object is
Stringpublic boolean isScorable()
isScorable in class ModelBooleanpublic void setScorable(java.lang.Boolean value)
setScorable in class Modelvalue - allowed object is
Booleanpublic java.util.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 void setMiningSchema(MiningSchema value)
setMiningSchema in class Modelvalue - allowed object is
MiningSchemapublic Output getOutput()
public void setOutput(Output value)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic void setModelStats(ModelStats value)
setModelStats in class Modelvalue - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic void setModelExplanation(ModelExplanation value)
setModelExplanation in class Modelvalue - allowed object is
ModelExplanationpublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic void setLocalTransformations(LocalTransformations value)
setLocalTransformations in class Modelvalue - allowed object is
LocalTransformationspublic ComparisonMeasure getComparisonMeasure()
ComparisonMeasurepublic void setComparisonMeasure(ComparisonMeasure value)
value - allowed object is
ComparisonMeasurepublic java.util.List<ClusteringField> getClusteringFields()
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 clusteringFields property.
For example, to add a new item, do as follows:
getClusteringFields().add(newItem);
Objects of the following type(s) are allowed in the list
ClusteringField
public CenterFields getCenterFields()
CenterFieldspublic void setCenterFields(CenterFields value)
value - allowed object is
CenterFieldspublic MissingValueWeights getMissingValueWeights()
MissingValueWeightspublic void setMissingValueWeights(MissingValueWeights value)
value - allowed object is
MissingValueWeightspublic java.util.List<Cluster> getClusters()
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 clusters property.
For example, to add a new item, do as follows:
getClusters().add(newItem);
Objects of the following type(s) are allowed in the list
Cluster
public ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic void setModelVerification(ModelVerification value)
setModelVerification in class Modelvalue - allowed object is
ModelVerificationpublic ClusteringModel withModelName(java.lang.String value)
public ClusteringModel withFunctionName(MiningFunctionType value)
public ClusteringModel withAlgorithmName(java.lang.String value)
public ClusteringModel withModelClass(ClusteringModel.ModelClass value)
public ClusteringModel withNumberOfClusters(java.lang.Integer value)
public ClusteringModel withScorable(java.lang.Boolean value)
public ClusteringModel withExtensions(Extension... values)
public ClusteringModel withExtensions(java.util.Collection<Extension> values)
public ClusteringModel withMiningSchema(MiningSchema value)
public ClusteringModel withOutput(Output value)
public ClusteringModel withModelStats(ModelStats value)
public ClusteringModel withModelExplanation(ModelExplanation value)
public ClusteringModel withLocalTransformations(LocalTransformations value)
public ClusteringModel withComparisonMeasure(ComparisonMeasure value)
public ClusteringModel withClusteringFields(ClusteringField... values)
public ClusteringModel withClusteringFields(java.util.Collection<ClusteringField> values)
public ClusteringModel withCenterFields(CenterFields value)
public ClusteringModel withMissingValueWeights(MissingValueWeights value)
public ClusteringModel withClusters(Cluster... values)
public ClusteringModel withClusters(java.util.Collection<Cluster> values)
public ClusteringModel withModelVerification(ModelVerification value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasClusteringFields()
public boolean hasClusters()
public Targets getTargets()
getTargets in class Modeljava.lang.UnsupportedOperationException - Always.public void setTargets(Targets targets)
setTargets in class Modeljava.lang.UnsupportedOperationException - Always.public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.