javax.datamining.attributeimportance
Interface AttributeImportanceSettingsFactory

All Superinterfaces:
Factory

public interface AttributeImportanceSettingsFactory
extends Factory

A factory class that creates instances of AttributeImportanceSettings.

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

Method Summary
 AttributeImportanceSettings create()
          Creates an instance of AttributeImportanceSettings initialized with vendor-specific default values.
 boolean supportsCapability(AttributeImportanceCapability capability)
          Returns true if the specified capability is supported in the implementation of the JDM being used.
 boolean supportsCapability(MiningAlgorithm algorithm, AttributeImportanceCapability capability)
          Returns true if the specified capability is supported by the specified attribute importance algorithm.
 

Method Detail

create

public AttributeImportanceSettings create()
                                   throws JDMException
Creates an instance of AttributeImportanceSettings initialized with vendor-specific default values. For supervised attribute importance, a target value must be specified by setTargetAttributeName method.

Returns:
AttributeImportanceSettings
Throws:
JDMException

supportsCapability

public boolean supportsCapability(AttributeImportanceCapability capability)
                           throws JDMException
Returns true if the specified capability is supported in the implementation of the JDM being used. Retruns false otherwise.

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

supportsCapability

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

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