Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-02


com.sigmadynamics.sdo.interfaces
Interface ChoiceModelInterface

All Known Implementing Classes:
ChoiceModel, SDChoiceModel

public interface ChoiceModelInterface

Implemented by Choice Model classes.

Since:
3.0
See Also:
ModelInterface

Method Summary
 double getChoiceLikelihood(java.lang.String choiceId)
           
 int getChoiceModelCount(ModelCount modelCount, java.lang.String choiceId)
           
 float getChoiceModelError(ModelError modelError, java.lang.String choiceId)
           
 float getChoiceModelLift(ModelLift modelLift, java.lang.String choiceId)
           
 float getChoiceModelQuality(java.lang.String choiceId)
           
 void recordChoice(java.lang.String choice)
           

 

Method Detail

recordChoice

void recordChoice(java.lang.String choice)
Parameters:
choice - sdo id of choice

getChoiceLikelihood

double getChoiceLikelihood(java.lang.String choiceId)
Parameters:
choiceId - sdo id of choice
Returns:
likelihood of a choice, a real number between 0 and 1 inclusive

getChoiceModelQuality

float getChoiceModelQuality(java.lang.String choiceId)
Parameters:
choiceId - sdo id of choice
Returns:
quality for a choice model, a real number between 0 and 1 inclusive

getChoiceModelCount

int getChoiceModelCount(ModelCount modelCount,
                        java.lang.String choiceId)
Parameters:
modelCount - a value of enum type ModelCount, specifying the count type
choiceId - sdo id of choice
Returns:
counts in a choice model, a non-negative integer
See Also:
ModelCount

getChoiceModelLift

float getChoiceModelLift(ModelLift modelLift,
                         java.lang.String choiceId)
Parameters:
modelLift - a value of enum type ModelLift, specifying the lift type
choiceId - sdo id of choice
Returns:
lift of a choice model, a real number of type float
See Also:
ModelLift

getChoiceModelError

float getChoiceModelError(ModelError modelError,
                          java.lang.String choiceId)
Parameters:
modelError - a value of enum type ModelError, specifying the error type
choiceId - sdo id of choice
Returns:
error of a choice model, a real number of type float
See Also:
ModelError

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-02


Copyright © 2010, 2011, Oracle. All rights reserved.