程序包 weka.core.pmml

类 DerivedFieldMetaInfo

java.lang.Object
weka.core.pmml.FieldMetaInfo
weka.core.pmml.DerivedFieldMetaInfo
所有已实现的接口:
Serializable

public class DerivedFieldMetaInfo extends FieldMetaInfo implements Serializable
另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • setFieldDefs

      public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception
      Upadate the field definitions for this derived field
      参数:
      fieldDefs -
      抛出:
      Exception
    • getFieldAsAttribute

      public Attribute getFieldAsAttribute()
      Get this derived field as an Attribute.
      指定者:
      getFieldAsAttribute 在类中 FieldMetaInfo
      返回:
      an Attribute for this derived field.
    • getDerivedValue

      public double getDerivedValue(double[] incoming) throws Exception
      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

      public String toString()
      覆盖:
      toString 在类中 Object