|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.pmml.Expression
weka.core.pmml.NormContinuous
public class NormContinuous
Class encapsulating a NormContinuous Expression.
| Constructor Summary | |
|---|---|
NormContinuous(Element normCont,
FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs)
|
|
| Method Summary | |
|---|---|
double |
getResult(double[] incoming)
Get the result of evaluating the expression. |
String |
getResultCategorical(double[] incoming)
Always throws an Exception since the result of NormContinuous must be continuous. |
double |
getResultInverse(double[] incoming)
Compute the inverse of the normalization (i.e. |
void |
setFieldDefs(ArrayList<Attribute> fieldDefs)
Set the field definitions for this Expression to use |
String |
toString(String pad)
|
| Methods inherited from class weka.core.pmml.Expression |
|---|
getExpression, getExpression, getFieldDef, getFieldDefIndex, getOptype, getResultContinuous, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NormContinuous(Element normCont,
FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs)
throws Exception
Exception| Method Detail |
|---|
public void setFieldDefs(ArrayList<Attribute> fieldDefs)
throws Exception
setFieldDefs in class ExpressionfieldDefs - the field definitions to use
Exception - if there is a problem setting the field definitions
public double getResult(double[] incoming)
throws Exception
getResult in class Expressionincoming - the incoming parameter values
Exception - if there is a problem computing the resultpublic double getResultInverse(double[] incoming)
incoming - the incoming parameter values
public String getResultCategorical(double[] incoming)
throws Exception
getResultCategorical in class Expressionincoming - the incoming parameter values
Exception - alwayspublic String toString(String pad)
toString in class Expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||