public class DerivedFieldMetaInfo extends FieldMetaInfo implements java.io.Serializable
FieldMetaInfo.Interval, FieldMetaInfo.Optype, FieldMetaInfo.Value
Constructor and Description |
---|
DerivedFieldMetaInfo(org.w3c.dom.Element derivedField,
java.util.ArrayList<Attribute> fieldDefs,
weka.core.pmml.TransformationDictionary transDict) |
Modifier and Type | Method and Description |
---|---|
double |
getDerivedValue(double[] incoming)
Get the derived field value for the given incoming vector of
values.
|
Attribute |
getFieldAsAttribute()
Get this derived field as an Attribute.
|
void |
setFieldDefs(java.util.ArrayList<Attribute> fieldDefs)
Upadate the field definitions for this derived field
|
java.lang.String |
toString() |
getFieldName, getOptype
public DerivedFieldMetaInfo(org.w3c.dom.Element derivedField, java.util.ArrayList<Attribute> fieldDefs, weka.core.pmml.TransformationDictionary transDict) throws java.lang.Exception
java.lang.Exception
public void setFieldDefs(java.util.ArrayList<Attribute> fieldDefs) throws java.lang.Exception
fieldDefs
- java.lang.Exception
public Attribute getFieldAsAttribute()
getFieldAsAttribute
in class FieldMetaInfo
public double getDerivedValue(double[] incoming) throws java.lang.Exception
incoming
- the incoming parameter valuesjava.lang.Exception
- if there is a problem computing the valuepublic java.lang.String toString()
toString
in class java.lang.Object