|
Oracle Data Mining Java API Reference 10g Release 1 (10.1) B12276-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--oracle.dmt.odm.transformation.AttributeDiscretization
|
+--oracle.dmt.odm.transformation.NumericalDiscretization
NumericalDiscretization contains the binning details for a numerical attribute. You can bin data in three ways:
| Constructor Summary | |
NumericalDiscretization(int numberOfQuantiles)Create a NumericalDiscretization instance with the specified number of quantiles. | |
NumericalDiscretization(int numberOfQuantiles, float tailPercentage)Create a NumericalDiscretization instance with the specified number of quantiles and tail percentage. | |
NumericalDiscretization(NumericalBin[] bins)Create a NumericalDiscretization instance with the specified array of numerical bin boundaries. | |
| Method Summary | |
void |
addNumercialBin(NumericalBin bin)Adds a numerical bin to the numerical discretization. |
int |
getNumberOfQuantiles()Returns the number of quantiles. |
NumericalBin[] |
getNumericalBin()Returns the list of numerical bins. |
float |
getTailPercentage()Returns the tail percentage |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NumericalDiscretization(NumericalBin[] bins)
throws InvalidArgumentException
NumericalDiscretization instance with the specified array of numerical bin boundaries.bins - Array of NumericalBin objects - the list of bin boundaries.InvalidArgumentException - when the array is empty.
public NumericalDiscretization(int numberOfQuantiles)
throws InvalidArgumentException
NumericalDiscretization instance with the specified number of quantiles.numberOfQuantiles - Number of quantiles ( bins)InvalidArgumentException - if number of quantiles is <= 0.
public NumericalDiscretization(int numberOfQuantiles,
float tailPercentage)
throws InvalidArgumentException
NumericalDiscretization instance with the specified number of quantiles and tail percentage.numberOfQuantiles - - Number of quantiles ( bins)tailPercentage - - The % of values omitted at the each end of histogram, before determining min and max.InvalidArgumentException -
| Method Detail |
public void addNumercialBin(NumericalBin bin)
public NumericalBin[] getNumericalBin()
public int getNumberOfQuantiles()
public float getTailPercentage()
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||