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_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}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ComparisonMeasure"/>
<element ref="{http://www.dmg.org/PMML-4_3}ClusteringField" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_3}CenterFields" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}MissingValueWeights" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Cluster" maxOccurs="unbounded"/>
<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="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_3}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.
|
| Constructor and Description |
|---|
ClusteringModel() |
ClusteringModel(MiningFunction miningFunction,
ClusteringModel.ModelClass modelClass,
int numberOfClusters,
MiningSchema miningSchema,
ComparisonMeasure comparisonMeasure,
List<ClusteringField> clusteringFields,
List<Cluster> clusters) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
ClusteringModel |
addClusteringFields(ClusteringField... clusteringFields) |
ClusteringModel |
addClusters(Cluster... clusters) |
ClusteringModel |
addExtensions(Extension... extensions) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
CenterFields |
getCenterFields()
Gets the value of the centerFields property.
|
List<ClusteringField> |
getClusteringFields()
Gets the value of the clusteringFields property.
|
List<Cluster> |
getClusters()
Gets the value of the clusters property.
|
ComparisonMeasure |
getComparisonMeasure()
Gets the value of the comparisonMeasure 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.
|
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.
|
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.
|
int |
getNumberOfClusters()
Gets the value of the numberOfClusters property.
|
Output |
getOutput()
Gets the value of the output property.
|
boolean |
hasClusteringFields() |
boolean |
hasClusters() |
boolean |
hasExtensions() |
boolean |
isScorable()
Gets the value of the scorable property.
|
ClusteringModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
ClusteringModel |
setCenterFields(CenterFields centerFields)
Sets the value of the centerFields property.
|
ClusteringModel |
setComparisonMeasure(ComparisonMeasure comparisonMeasure)
Sets the value of the comparisonMeasure property.
|
ClusteringModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
ClusteringModel |
setMiningFunction(MiningFunction miningFunction)
Sets the value of the miningFunction property.
|
ClusteringModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
ClusteringModel |
setMissingValueWeights(MissingValueWeights missingValueWeights)
Sets the value of the missingValueWeights property.
|
ClusteringModel |
setModelClass(ClusteringModel.ModelClass modelClass)
Sets the value of the modelClass property.
|
ClusteringModel |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
ClusteringModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
ClusteringModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
ClusteringModel |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
ClusteringModel |
setNumberOfClusters(int numberOfClusters)
Sets the value of the numberOfClusters property.
|
ClusteringModel |
setOutput(Output output)
Sets the value of the output property.
|
ClusteringModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
getTargets, setTargetsgetLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic ClusteringModel()
public ClusteringModel(MiningFunction miningFunction, ClusteringModel.ModelClass modelClass, int numberOfClusters, MiningSchema miningSchema, ComparisonMeasure comparisonMeasure, List<ClusteringField> clusteringFields, List<Cluster> clusters)
public String getModelName()
getModelName in class ModelStringpublic ClusteringModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunction getMiningFunction()
getMiningFunction in class ModelMiningFunctionpublic ClusteringModel setMiningFunction(MiningFunction miningFunction)
setMiningFunction in class ModelminingFunction - allowed object is
MiningFunctionpublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic ClusteringModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic ClusteringModel.ModelClass getModelClass()
ClusteringModel.ModelClasspublic ClusteringModel setModelClass(ClusteringModel.ModelClass modelClass)
modelClass - allowed object is
ClusteringModel.ModelClasspublic int getNumberOfClusters()
public ClusteringModel setNumberOfClusters(int numberOfClusters)
public boolean isScorable()
isScorable in class ModelBooleanpublic ClusteringModel 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 ClusteringModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public ClusteringModel setOutput(Output output)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic ClusteringModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic ClusteringModel setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic ClusteringModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic ComparisonMeasure getComparisonMeasure()
ComparisonMeasurepublic ClusteringModel setComparisonMeasure(ComparisonMeasure comparisonMeasure)
comparisonMeasure - allowed object is
ComparisonMeasurepublic 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 ClusteringModel setCenterFields(CenterFields centerFields)
centerFields - allowed object is
CenterFieldspublic MissingValueWeights getMissingValueWeights()
MissingValueWeightspublic ClusteringModel setMissingValueWeights(MissingValueWeights missingValueWeights)
missingValueWeights - allowed object is
MissingValueWeightspublic 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 ClusteringModel setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic ClusteringModel addExtensions(Extension... extensions)
public boolean hasClusteringFields()
public ClusteringModel addClusteringFields(ClusteringField... clusteringFields)
public boolean hasClusters()
public ClusteringModel addClusters(Cluster... clusters)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.