Skip navigation links

Oracle Data Mining Java API Reference
11g Release 2 (11.2)

E12219-03


oracle.dmt.jdm.transform.binning
Interface OraCategoricalBin


public interface OraCategoricalBin

CategoricalBin interface defines the bin for a categorical attribute. User can define a custom bin definition for a categorical attribute using this object. Bin id is the value that will replace the categories defined in the categorical bin.


Method Summary
 void addCategory(java.lang.Object categoryVal)
          Add the category value that belongs to this categorical bin.
 java.lang.String getBinID()
          Returns the bin id of this bin.
 java.lang.Object[] getCategories()
          Returns the list of categories set in the categorical bin.
 void removeAll()
          Removes all the category values.
 void removeCategory(java.lang.Object categoryVal)
          Remove the category value from the categorical bin.
 void setBinID(java.lang.String binID)
          Sets the bin id of this bin.

 

Method Detail

getBinID

public java.lang.String getBinID()
Returns the bin id of this bin.
Returns:
String bin id

setBinID

public void setBinID(java.lang.String binID)
Sets the bin id of this bin.
Parameters:
binID - bin id

addCategory

public void addCategory(java.lang.Object categoryVal)
Add the category value that belongs to this categorical bin.
Parameters:
categoryVal - category value being added

removeCategory

public void removeCategory(java.lang.Object categoryVal)
Remove the category value from the categorical bin.
Parameters:
categoryVal - category value being removed

removeAll

public void removeAll()
Removes all the category values.

getCategories

public java.lang.Object[] getCategories()
Returns the list of categories set in the categorical bin.
Returns:
Object[] category array.

Skip navigation links

Oracle Data Mining Java API Reference
11g Release 2 (11.2)

E12219-03


Copyright © 2005, 2011 Oracle. All rights reserved.