oracle.dmt.odm.transformation
Class NumericalBin
java.lang.Object
|
+--oracle.dmt.odm.transformation.NumericalBin
- public class NumericalBin
- extends java.lang.Object
An entry of class NumericalBin
specifies explicit bin boundaries for a numerical mining attribute.
A bin identifier must be specified and boundaries must be specified for each bin. A bin boundary has
a start and end; the end value must be greater than or equal to
the start value. The low value is included in the bin, and the high value is excluded,
except for the bin with the largest high value. A display name can also be specified for
each bin. If no name is specified, the default name "-"
will be assigned to the bin.
Outliers will not assigned bin. Outliers values that are
less then smallest low value or lager then biggest high value.
NumericalBin(int binId,
float start,
float end)
Creates NumericalBin instance that specifies the bin boudaries
for a mining attribute. |
NumericalBin(int binId,
float start,
float end,
java.lang.String displayName)
Creates NumericalBin instance that specifies the bin boudaries
for a mining attribute. |
Type | Method |
int |
getBinId()
Returns the bin identifier. |
java.lang.String |
getDisplayName()
Returns the display name. |
float |
getEnd()
Returns end value (high value) of the bin. |
float |
getStart()
Returns the start value (low value) of the bin. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumericalBin
public NumericalBin(int binId,
float start,
float end)
throws InvalidArgumentException
- Creates
NumericalBin
instance that specifies the bin boudaries
for a mining attribute. The display name = "start-end" will be assigned to the
object constructed.
- Parameters:
binId
- Bin idstart
- Start value (low value) of the binend
- End value (high value) of the bin- Throws:
InvalidArgumentException
- Thrown when one of the arguments is invalid
NumericalBin
public NumericalBin(int binId,
float start,
float end,
java.lang.String displayName)
throws InvalidArgumentException
- Creates
NumericalBin
instance that specifies the bin boudaries
for a mining attribute.
- Parameters:
binId
- Bin idstart
- Start value (low value) of the binend
- End value (high value) of the bindisplayName
- Display name associated with the bin.- Throws:
InvalidArgumentException
- Thrown when one of the arguments is invalid
getStart
public float getStart()
- Returns the start value (low value) of the bin.
- Returns:
- float - Start value
getEnd
public float getEnd()
- Returns end value (high value) of the bin.
- Returns:
- float - End value
getBinId
public int getBinId()
- Returns the bin identifier.
- Returns:
- int - bin ID.
getDisplayName
public java.lang.String getDisplayName()
- Returns the display name.
- Returns:
- String - display name.