javax.datamining.clustering
Interface ClusteringSettingsFactory

All Superinterfaces:
Factory

public interface ClusteringSettingsFactory
extends Factory

A factory class that creates instances of ClusteringSettings.

Author:
JSR-73 Java Data Mining Expert Group
See Also:
Factory

Method Summary
 ClusteringSettings create()
          Creates an instance of ClusteringSettings for building a ClusteringModel initialized to vendor-specific default values.
 boolean supportsCapability(AggregationFunction aggregationFunction)
          Returns true if the specified aggregation function is supported in theJDM implementation.
 boolean supportsCapability(AttributeComparisonFunction comparisonFunction)
          Returns true if the specified attribute comparison function is supported in the JDM implementation.
 boolean supportsCapability(ClusteringCapability capability)
          Returns true if the specified capability is supported in the JDM implementation.
 boolean supportsCapability(MiningAlgorithm algorithm, ClusteringCapability capability)
          Returns true if the specified capability is supported by the specified clustering algorithm.
 

Method Detail

create

public ClusteringSettings create()
                          throws JDMException
Creates an instance of ClusteringSettings for building a ClusteringModel initialized to vendor-specific default values.

Returns:
ClusteringSettings
Throws:
JDMException

supportsCapability

public boolean supportsCapability(AggregationFunction aggregationFunction)
                           throws JDMException
Returns true if the specified aggregation function is supported in theJDM implementation. Returns false otherwise.

Parameters:
aggregationFunction -
Returns:
boolean
Throws:
JDMException

supportsCapability

public boolean supportsCapability(AttributeComparisonFunction comparisonFunction)
                           throws JDMException
Returns true if the specified attribute comparison function is supported in the JDM implementation. Returns false otherwise.

Parameters:
comparisonFunction -
Returns:
boolean
Throws:
JDMException

supportsCapability

public boolean supportsCapability(ClusteringCapability capability)
                           throws JDMException
Returns true if the specified capability is supported in the JDM implementation. Returns false otherwise.

Parameters:
capability - An enumeration value that represents a specific capability.
Returns:
boolean
Throws:
JDMException

supportsCapability

public boolean supportsCapability(MiningAlgorithm algorithm,
                                  ClusteringCapability capability)
                           throws JDMException
Returns true if the specified capability is supported by the specified clustering algorithm. Returns false if the algorithm does not support the specified capability.

This method must be used when an algorithm settings is specified with function settings. Throws an exception if the algorithm is not one of the supported clustering algorithms.

Parameters:
algorithm -
capability -
Returns:
boolean
Throws:
JDMException