public class DerivedFieldMetaInfo extends FieldMetaInfo implements Serializable
FieldMetaInfo.Interval, FieldMetaInfo.Optype, FieldMetaInfo.Value
Constructor and Description |
---|
DerivedFieldMetaInfo(Element derivedField,
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(ArrayList<Attribute> fieldDefs)
Upadate the field definitions for this derived field
|
String |
toString() |
getFieldName, getOptype
public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception
fieldDefs
- Exception
public Attribute getFieldAsAttribute()
getFieldAsAttribute
in class FieldMetaInfo
public double getDerivedValue(double[] incoming) throws Exception
incoming
- the incoming parameter valuesException
- if there is a problem computing the valueCopyright © 2019 University of Waikato, Hamilton, NZ. All rights reserved.