Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm.rule
Class SimplePredicate

java.lang.Object
  |
  +--oracle.dmt.odm.rule.Predicate
        |
        +--oracle.dmt.odm.rule.SimplePredicate

public class SimplePredicate
extends Predicate

An instance of SimplePredicate consists of a single comparison between a mining attribute value and a set of constants. The constant can be either numeric or categorical.

Examples for SimplePredicate include "gender = Male" or "marital_status IN (Single, Separated)".

Since:
9.2.0

Method Summary
 ComparisonFunction getCompareFunction()
          Returns the ComparisonFunction.
 MiningAttribute getItem()
          Returns the MiningAttribute which is the subject of the comparison.
 Category[] getValue()
          Returns the array of Category value to which the mining attribute value is compared.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getCompareFunction

public ComparisonFunction getCompareFunction()
Returns the ComparisonFunction.
Returns:
ComparsionFunction - the comparison function

getItem

public MiningAttribute getItem()
Returns the MiningAttribute which is the subject of the comparison.
Returns:
MiningAttribute - the mining attribute

getValue

public Category[] getValue()
Returns the array of Category value to which the mining attribute value is compared.
Returns:
Category[] - array of category values

Copyright © 2003 Oracle Corporation. All Rights Reserved.