|
Oracle Data Mining Java API Reference 10g Release 2 (10.2) B14341-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Binning involves mapping both continuous and discrete values to discrete values of reduced cardinality. For example, the age of persons can be binned into discrete numeric bins: 1-20 to 1, 21-40 to 2, and so on. Popular car manufacturers such as Ford, Chrysler, BMW, Volkswagen can be binned into discrete categorical bins: {Ford, Chrysler} to US_Car_Makers, and {BMW, Volkswagen} to European_Car_Makers. The package supports binning for both categorical and numerical attributes. This interface defines the methods to set bin details of the transformation.
Method Summary | |
OraAttributeBins[] |
getBins() Returns the array of attribute bins that are specified or computed. |
OraCategoricalBinningType |
getCategoricalBinningType() Returns the categorical binning type for all categorical attributes. |
java.lang.String |
getCategoricalBinTable() Returns the categorical bin definition table name. |
boolean |
getLiteralFlag() Returns whether data kept in its natural format or as literals |
int |
getNumberOfBinsForCategorical() Returns the number of bins for all categorical atributes. |
int |
getNumberOfBinsForNumerical() Returns the number of bins for all numerical atributes. |
OraNumericalBinningType |
getNumericalBinningType() Get the binning type for all numerical attributes. |
java.lang.String |
getNumericalBinTable() Returns the numerical bin definition table name. |
int |
getRound() Returns the number of significant digits. |
java.lang.String |
getSettingsTable1() Returns the name of numeric bin boundary table |
java.lang.String |
getSettingsTable2() Returns the name of categoric bin boundary table |
void |
setCategoricalBinningType(OraCategoricalBinningType type) Set the categorical binning type for all categorical attributes. |
void |
setLiteralFlag(boolean bLiteralFlag) Determines whether data kept in its natural format or as literals |
void |
setNumberOfBinsForCategorical(int binNumber) Sets the number of bins for all categorical atributes. |
void |
setNumberOfBinsForNumerical(int binNumber) Sets the number of bins for all numerical atributes. |
void |
setNumericalBinningType(OraNumericalBinningType type) Set the binning type for all numerical attributes. |
void |
setRound(int round) Sets the number of significant digits. |
Methods inherited from interface oracle.dmt.jdm.transform.OraTransformation |
getExcludeColumnList, getTransformInputData, getTransformOutputData, isOutputView, setExcludeColumnList, setTransformInputData, setTransformOutputData |
Method Detail |
public OraNumericalBinningType getNumericalBinningType()
public void setNumericalBinningType(OraNumericalBinningType type)
type
- binning typepublic OraCategoricalBinningType getCategoricalBinningType()
public void setCategoricalBinningType(OraCategoricalBinningType type)
type
- categorical binning typepublic int getNumberOfBinsForNumerical()
public void setNumberOfBinsForNumerical(int binNumber)
binNumber
- number of bins for all numerical atributespublic int getNumberOfBinsForCategorical()
public void setNumberOfBinsForCategorical(int binNumber)
binNumber
- number of bins for all categorical atributespublic java.lang.String getNumericalBinTable()
public java.lang.String getCategoricalBinTable()
public OraAttributeBins[] getBins()
public java.lang.String getSettingsTable1()
public java.lang.String getSettingsTable2()
public void setLiteralFlag(boolean bLiteralFlag)
bLiteralFlag
- true
data kept as literalspublic boolean getLiteralFlag()
true
data kept as literalspublic void setRound(int round)
round
- number of significant digitspublic int getRound()
|
Oracle Data Mining Java API Reference 10g Release 2 (10.2) B14341-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |