程序包 weka.core.pmml
类 DerivedFieldMetaInfo
java.lang.Object
weka.core.pmml.FieldMetaInfo
weka.core.pmml.DerivedFieldMetaInfo
- 所有已实现的接口:
Serializable
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 weka.core.pmml.FieldMetaInfo
FieldMetaInfo.Interval, FieldMetaInfo.Optype, FieldMetaInfo.Value
-
构造器概要
构造器构造器说明DerivedFieldMetaInfo
(Element derivedField, ArrayList<Attribute> fieldDefs, weka.core.pmml.TransformationDictionary transDict) -
方法概要
修饰符和类型方法说明double
getDerivedValue
(double[] incoming) Get the derived field value for the given incoming vector of values.Get this derived field as an Attribute.void
setFieldDefs
(ArrayList<Attribute> fieldDefs) Upadate the field definitions for this derived fieldtoString()
从类继承的方法 weka.core.pmml.FieldMetaInfo
getFieldName, getOptype
-
构造器详细资料
-
方法详细资料
-
setFieldDefs
Upadate the field definitions for this derived field- 参数:
fieldDefs
-- 抛出:
Exception
-
getFieldAsAttribute
Get this derived field as an Attribute.- 指定者:
getFieldAsAttribute
在类中FieldMetaInfo
- 返回:
- an Attribute for this derived field.
-
getDerivedValue
Get the derived field value for the given incoming vector of values. Incoming values are assumed to be in the same order as the attributes supplied in the field definitions ArrayList used to construct this DerivedField. If the optype of this derived field is continuous, then a real number is returned. Otherwise, the number returned is the index of the categorical/ordinal value corresponding to result of computing the derived field value.- 参数:
incoming
- the incoming parameter values- 返回:
- the result of computing the derived value
- 抛出:
Exception
- if there is a problem computing the value
-
toString
-