|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A ClusteringSettings instance holds
metadata for required settings common to all
clustering algorithms. If maximum number of
clusters or minimum cluster case count is not
specified, a system determined value is used.
MiningObject,
BuildSettings| Method Summary | |
AggregationFunction |
getAggregationFunction()
Returns the aggregation function to be used. |
AttributeComparisonFunction |
getAttributeComparisonFunction(java.lang.String logicalAttributeName)
Returns the attribute comparison function to be used. |
long |
getMaxClusterCaseCount()
Returns the maximum number of cases per cluster for the model to be built. |
int |
getMaxLevels()
Returns the maximum number of levels in a hierarchical model. |
int |
getMaxNumberOfClusters()
Returns the maximum number of clusters in the model to be built. |
long |
getMinClusterCaseCount()
Returns the minimum number of cases per cluster for the model to be built. |
SimilarityMatrix |
getSimilarityMatrix(java.lang.String logicalAttributeName)
Returns the similarity matrix to be used when the attribute comparison function is similarityMatrix. |
void |
setAggregationFunction(AggregationFunction function)
Sets the aggregation function to be used. |
void |
setAttributeComparisonFunction(java.lang.String logicalAttributeName,
AttributeComparisonFunction function)
Sets the attribute comparison function to be used. |
void |
setMaxClusterCaseCount(long maxCount)
Sets the maximum number of cases per cluster in the model to be built. |
void |
setMaxLevels(int numberOfLevels)
Sets the maximum level for hierarchical clustering. |
void |
setMaxNumberOfClusters(int maxClusters)
Sets the maximum number of clusters in the model to be built. |
void |
setMinClusterCaseCount(long minCaseCount)
Sets the minimum number of cases per cluster in the model to be built. |
void |
setSimilarityMatrix(java.lang.String logicalAttributeName,
SimilarityMatrix matrix)
Sets the similarity matrix to be used. |
| Methods inherited from interface javax.datamining.base.BuildSettings |
getAlgorithmSettings, getDesiredExecutionTimeInMinutes, getLogicalAttributes, getLogicalData, getLogicalDataName, getMiningFunction, getOutlierIdentification, getOutlierTreatment, getUsage, getWeight, getWeightAttribute, setAlgorithmSettings, setDesiredExecutionTimeInMinutes, setLogicalDataName, setOutlierIdentification, setOutlierTreatment, setUsage, setWeight, setWeightAttribute, verify |
| Methods inherited from interface javax.datamining.MiningObject |
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription |
| Method Detail |
public AggregationFunction getAggregationFunction()
public AttributeComparisonFunction getAttributeComparisonFunction(java.lang.String logicalAttributeName)
throws JDMException
logicalAttributeName -
JDMExceptionpublic long getMaxClusterCaseCount()
public int getMaxLevels()
public int getMaxNumberOfClusters()
public long getMinClusterCaseCount()
public SimilarityMatrix getSimilarityMatrix(java.lang.String logicalAttributeName)
throws JDMException
similarityMatrix.
logicalAttributeName -
JDMExceptionpublic void setAggregationFunction(AggregationFunction function)
function - The aggregation function to be used.
public void setAttributeComparisonFunction(java.lang.String logicalAttributeName,
AttributeComparisonFunction function)
throws JDMException
absDiff, gaussSim for numerical attributes, delta, equal for categorical attributes, and table for categorical or discrete numerical attributes.
logicalAttributeName - function - The comparison function to be used for the specified attribute.
JDMExceptionpublic void setMaxClusterCaseCount(long maxCount)
maxCount - The maximum case count for clusters.
public void setMaxLevels(int numberOfLevels)
numberOfLevels - The maximum level allowed in the model.
public void setMaxNumberOfClusters(int maxClusters)
maxClusters - The maximum number of clusters to be found during model building.
public void setMinClusterCaseCount(long minCaseCount)
minCaseCount - The minimum cluster size in terms of case count. Any cluster must represent at least this many cases.
public void setSimilarityMatrix(java.lang.String logicalAttributeName,
SimilarityMatrix matrix)
throws JDMException
similarityMatrix.
logicalAttributeName - matrix - The similarity matrix to be used for the specified attribute.
JDMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||