javax.datamining.supervised.classification
Interface ClassificationSettingsFactory

All Superinterfaces:
Factory

public interface ClassificationSettingsFactory
extends Factory

A factory class that creates instances of ClassificationSettings.

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

Method Summary
 ClassificationSettings create()
          Creates an instance of ClassificationSettings initialized to vendor-specific default values.
 boolean supportsCapability(ClassificationCapability capability)
          Returns true if the specified capability is supported in the implementation of the JDM being used.
 boolean supportsCapability(MiningAlgorithm algorithm, ClassificationCapability capability)
          Returns true if the specified capability is supported by the specified classification algorithm.
 

Method Detail

create

public ClassificationSettings create()
                              throws JDMException
Creates an instance of ClassificationSettings initialized to vendor-specific default values.

Returns:
ClassificationSettings
Throws:
JDMException

supportsCapability

public boolean supportsCapability(ClassificationCapability capability)
                           throws JDMException
Returns true if the specified capability is supported in the implementation of the JDM being used. Returns false otherwise. This method can be used when the user specifies the function settings without algorithm settings. The implementation must choose a default algorithm with the capabilities consistent with the return values of this method. If an alsogorithm settings is specified, supportCapability(MiningAlgorithm, ClassificationCapability) must be used.

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

supportsCapability

public boolean supportsCapability(MiningAlgorithm algorithm,
                                  ClassificationCapability capability)
                           throws JDMException
Returns true if the specified capability is supported by the specified classification algorithm. Returns false if the algorithm does not support the specified capability. Throws an exception if the algorithm is not one of the supported classification algorithms. This method must be used when an algorithm settings is specified with function settings.

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