| 
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.ApplyMultipleScoringItem
An instance of ApplyMultipleScoringItem is an element to construct a MiningApplyOutput object that is used as specification of the apply output. This object specifies the top/bottom n target score values (whose probabilities are highest/lowest, respectively). The target category is specified in terms of its rank, which is computed from the relative position with regard to its probability (with 1 being the highest). Two columns may appear in the apply output table for each prediction, one being the required prediction column and the other being the optional probability column.
| Constructor Summary | |
ApplyMultipleScoringItem(Attribute predAttr, Attribute probAttr)Creates an instance of ApplyMultipleScoringItem object with all score/probability pairs and the destination columns to appear in the apply output table. | |
ApplyMultipleScoringItem(Attribute predAttr, Attribute probAttr, int nPairs)Creates an instance of ApplyMultipleScoringItem object with the number of top n score/probability pairs and the destination columns to appear in the apply output table. | |
ApplyMultipleScoringItem(Attribute predAttr, Attribute probAttr, int nPairs, boolean useTop)Creates an instance of ApplyMultipleScoringItem with the number of score/probability pairs to be predicted, the destination columns to appear in the output table, and the indicator as to whether to choose from the top or the bottom. | |
| Method Summary | |
 Attribute | 
getPredictionAttribute()Returns the attribute to appear in the apply output table as prediction column.  | 
 Attribute | 
getProbabilityAttribute()Returns the attribute to appear in the apply output table as a probability column.  | 
 int | 
getScoreProbPairs()Returns the number of score/probability pairs to be scored for each input record.  | 
 boolean | 
getUseTop()Returns the indicator as to whether to choose from the top or bottom of the ranks.  | 
| 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 ApplyMultipleScoringItem(Attribute predAttr,
Attribute probAttr,
                                int nPairs,
                                boolean useTop)
                         throws InvalidArgumentException
ApplyMultipleScoringItem with the number of score/probability pairs to be predicted, the destination columns to appear in the output table, and the indicator as to whether to choose from the top or the bottom.predAttr - The details of the prediction column to appear in the apply output tableprobAttr - The details of the probability column in the apply output tablenPairs - The number of score/probability pairs to be scored for each input recorduseTop - Specifies whether to choose from the top, if true, or bottom, if falseInvalidArgumentException - 
predAttr or probAttr is null,predAttr is invalid,predAttr and probAttr, ornPairs is not a positive integer.
public ApplyMultipleScoringItem(Attribute predAttr,
Attribute probAttr,
                                int nPairs)
                         throws InvalidArgumentException
ApplyMultipleScoringItem object with the number of top n score/probability pairs and the destination columns to appear in the apply output table.predAttr - The details of the prediction column to appear in the apply output tableprobAttr - The details of the probability column to appear in the output tablenPairs - The number of score/probability pairs to be scored for each input recordInvalidArgumentException - 
predAttr or probAttr is null,predAttr is invalid,predAttr and probAttr, ornPairs is not a positive integer.
public ApplyMultipleScoringItem(Attribute predAttr,
Attribute probAttr)
                         throws InvalidArgumentException
ApplyMultipleScoringItem object with all score/probability pairs and the destination columns to appear in the apply output table.predAttr - The details of the prediction column to appear in the apply output tableprobAttr - The details of the probability column to appear in the output tableInvalidArgumentException - 
predAttr or probAttr is null,predAttr is invalid, orpredAttr and probAttr| Method Detail | 
public int getScoreProbPairs()
int - The number of score/probability pairs to be predictedpublic Attribute getPredictionAttribute()
Attribute - The attribute that describes the prediction columnpublic Attribute getProbabilityAttribute()
Attribute - The attribute that describes the probability columnpublic boolean getUseTop()
boolean - The indicator to choose from the top (if true) or bottom (if false) 
  | 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||