Skip navigation links

Oracle Data Mining Java API Reference
11g Release 1 (11.1)

B28132-01


oracle.dmt.jdm.transform.binning
Interface OraNumericalBin


public interface OraNumericalBin

NumericalBin interface defines the bin for a numerical attribute. User can define a custom bin definition for a numerical attribute using this object. Bin id is the value that will replace the numbers defined in the bin range of a numerical bin.


Method Summary
 java.lang.String getBinID()
          Returns the bin id of this bin.
 double getEndValue()
          Returns the end value of the bin.
 double getStartValue()
          Returns the start value of the bin.
 void setBinID(java.lang.String binID)
          Sets the bin id of this bin
 void setEndValue(double endVal)
          Sets the end value of the bin.
 void setStartValue(double startVal)
          Sets the start value of the 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)
              throws javax.datamining.JDMException
Sets the bin id of this bin
Parameters:
binID -
Throws:
javax.datamining.JDMException - when the binID is null or invalid.

getStartValue

public double getStartValue()
Returns the start value of the bin.
Returns:
double start value

setStartValue

public void setStartValue(double startVal)
                   throws javax.datamining.JDMException
Sets the start value of the bin.
Parameters:
startVal - bin start value
Throws:
javax.datamining.JDMException - when the start value is greater than or equal to end value

getEndValue

public double getEndValue()
Returns the end value of the bin.
Returns:
double bin end value

setEndValue

public void setEndValue(double endVal)
                 throws javax.datamining.JDMException
Sets the end value of the bin.
Parameters:
endVal - bin end value
Throws:
javax.datamining.JDMException - when the end value is less than or equal to start value

Skip navigation links

Oracle Data Mining Java API Reference
11g Release 1 (11.1)

B28132-01


Copyright © 2005-2007 Oracle. All rights reserved.