|
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.result.ApplyContentItem | +--oracle.dmt.odm.result.ApplyTargetProbabilityItem
An instance of ApplyTargetProbabilityItem
contains a set of target values whose prediction and probability are to appear in the apply output table, regardless rank. The target values represented as categories must be found in the target attribute used when building the model.
Constructor Summary | |
ApplyTargetProbabilityItem(Attribute predAttr, Attribute probAttr, Attribute rankAttr) Creates an empty instance of ApplyTargetProbabilityItem . |
Method Summary | |
void |
addTarget(Category target) Adds a target value to be scored. |
Attribute |
getPredictionAttribute() Returns the attribute to appear in the output table as prediction column. |
Attribute |
getProbabilityAttribute() Returns the attribute to appear in the output table as probability column. |
Attribute |
getRankAttribute() Returns the attribute to appear in the output table as rank column. |
Category[] |
getTargets() Returns an array of target values contained in the instance. |
Methods inherited from class oracle.dmt.odm.result.ApplyContentItem |
getDestinationAttribute |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ApplyTargetProbabilityItem(Attribute predAttr, Attribute probAttr, Attribute rankAttr) throws InvalidArgumentException
ApplyTargetProbabilityItem
. The addTarget
method must be subsequently invoked to add target values the instance.InvalidArgumentException
- destAttr
is null, or the column name described in it is invalid.Method Detail |
public Category[] getTargets()
public void addTarget(Category target) throws InvalidArgumentException
target
- The target value to be addedInvalidArgumentException
- target
is null.public Attribute getPredictionAttribute()
Attribute
- The prediction attributepublic Attribute getProbabilityAttribute()
Attribute
- The probability attributepublic Attribute getRankAttribute()
Attribute
- The rank attribute
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |