Skip navigation links

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

E17787-01


com.sigmadynamics.sdo.util
Class PredictionContribution

java.lang.Object
  extended by com.sigmadynamics.sdo.util.PredictionContribution


public class PredictionContribution
extends java.lang.Object

This class represents a contribution of a model attribute to the score.


Constructor Summary
PredictionContribution(Path attribute, AnalysisDatePart datePart, java.lang.Object value, double correlation)
           

 

Method Summary
 java.lang.String getAttributeName()
           
 java.lang.String getAttributeNameForDisplay()
           
 double getCorrelation()
           
 AnalysisDatePart getDatePart()
           
 java.lang.Object getValue()
           

 

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

 

Constructor Detail

PredictionContribution

public PredictionContribution(Path attribute,
                              AnalysisDatePart datePart,
                              java.lang.Object value,
                              double correlation)

Method Detail

getAttributeName

public java.lang.String getAttributeName()
Returns:
Returns a raw model attribute name. For example, "customer.customerKey"

getAttributeNameForDisplay

public java.lang.String getAttributeNameForDisplay()
Returns:
Returns a friendly model attribute name. For example, "Customer Key"

getDatePart

public AnalysisDatePart getDatePart()
Returns:
Returns a part of the date/time attribute that contributed to the prediction. For all other attributes returns null.

getCorrelation

public double getCorrelation()
Returns:
Returns the correlation, a real number between -1 and 1 inclusive.

getValue

public java.lang.Object getValue()
Returns:
Returns the value, which can be either String, Integer, Double or Long.

Skip navigation links

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

E17787-01


Copyright © 2010, Oracle. All rights reserved.