javax.datamining.algorithm.naivebayes
Interface NaiveBayesSettingsFactory

All Superinterfaces:
Factory

public interface NaiveBayesSettingsFactory
extends Factory

A factory class that creates instances of NaiveBayesSettings.

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

Method Summary
 NaiveBayesSettings create()
          Constructs an instance of NaiveBayesSettings initialized to vendor-specified default values.
 boolean supportsCapability(NaiveBayesCapability capability)
          Returns true if the specified capability is supported in the implementation of the JDM being used.
 

Method Detail

create

public NaiveBayesSettings create()
                          throws JDMException
Constructs an instance of NaiveBayesSettings initialized to vendor-specified default values.

Returns:
NaiveBayesSettings
Throws:
JDMException

supportsCapability

public boolean supportsCapability(NaiveBayesCapability 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