Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm
Class MiningFunction

java.lang.Object
  |
  +--oracle.dmt.odm.Enum
        |
        +--oracle.dmt.odm.MiningFunction
All Implemented Interfaces:
java.io.Serializable

public class MiningFunction
extends Enum

The enumeration class MiningFunction specifies the type of mining function to be used to build a mining model.

The semantics of the value are as follows:

See Also:
MiningAlgorithmsSettings, Serialized Form

Field Summary
static MiningFunction associationRules
          Specifies the Association Rules mining function.
static MiningFunction attributeImportance
          Specifies the Attribute Importance function.
static MiningFunction classification
          Specifies the Classification mining function.
static MiningFunction clustering
          Specifies the Clustering mining function.
static MiningFunction featureExtraction
          Specifies the Feature Extraction mining function.
static MiningFunction regression
          Specifies the Regression mining function.

 

Method Summary
static MiningFunction getInstance(int id)
          Returns an instance of MiningFunction enumeration that corresponds to the specified identifier.
static MiningFunction getInstance(java.lang.String name)
          Returns an instance of MiningFunction enumeration that corresponds to the specified name.
static MiningFunction[] list()
          Returns a list of all instances of MiningFunction enumerations.
static java.lang.String[] listNames()
          Returns a list of the values available in enumeration MiningFunction.

 

Methods inherited from class oracle.dmt.odm.Enum
getEnum, getID, isEqual

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

associationRules

public static final MiningFunction associationRules
Specifies the Association Rules mining function.

classification

public static final MiningFunction classification
Specifies the Classification mining function.

attributeImportance

public static final MiningFunction attributeImportance
Specifies the Attribute Importance function.

clustering

public static final MiningFunction clustering
Specifies the Clustering mining function.

regression

public static final MiningFunction regression
Specifies the Regression mining function.

featureExtraction

public static final MiningFunction featureExtraction
Specifies the Feature Extraction mining function.
Method Detail

listNames

public static java.lang.String[] listNames()
Returns a list of the values available in enumeration MiningFunction.
Returns:
array of names for the MiningFunction enumeration

list

public static MiningFunction[] list()
Returns a list of all instances of MiningFunction enumerations.
Returns:
array of enumeration values for the MiningFunction enumeration

getInstance

public static MiningFunction getInstance(java.lang.String name)
Returns an instance of MiningFunction enumeration that corresponds to the specified name.
Parameters:
name - The value of the enumeration (one of associationRules, classification, attributeImportance, clustering and regression)
Returns:
instance of the MiningFunction enumeration object corresponding to the given name, null if there is no enumeration for this name.

getInstance

public static MiningFunction getInstance(int id)
Returns an instance of MiningFunction enumeration that corresponds to the specified identifier.
Parameters:
id - The identifier of the enumeration (one of 0, 1, 2, 3, and 4)
Returns:
instance of the enumeration object corresponding to the given id, null if there is no enumeration for id.

Copyright © 2003 Oracle Corporation. All Rights Reserved.