|
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.MiningObject | +--oracle.dmt.odm.AttributeHistogram
An instance of AttributeHistogram
contains metadata used to describe one-dimensional (single attribute) histograms.
Constructor Summary | |
AttributeHistogram(MiningAttribute attribute, java.util.Vector diplayNames, java.util.Vector freq) Creates an AttributeHistogram object for a given attribute. |
Method Summary | |
MiningAttribute |
getAttribute() Returns the MiningAttribute associated with the histogram. |
java.lang.String |
getDisplayName(int binNumber) Returns the display name for a bin in the histogram. |
java.lang.Float |
getFrequency(int binNumber) Returns the frequency for a given bin in the histogram. |
int |
getNumberOfBins() Returns the number of bins in the histogram. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttributeHistogram(MiningAttribute attribute, java.util.Vector diplayNames, java.util.Vector freq)
AttributeHistogram
object for a given attribute.attribute
- Mining attributefreq
- Vector of bin frequencies. Bin frequencies in a histogram sum up to oneMethod Detail |
public MiningAttribute getAttribute()
MiningAttribute
associated with the histogram.public java.lang.Float getFrequency(int binNumber) throws InvalidArgumentException
binNumber
- Histogram bin numberInvalidArgumentException
- when binNumber < 1 or more then total number of beansInvalidArgumentException
public java.lang.String getDisplayName(int binNumber) throws InvalidArgumentException
binNumber
- Histogram bin numberInvalidArgumentException
- when binNumber < 1 or more then total number of beansInvalidArgumentException
public int getNumberOfBins()
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |