程序包 weka.core.pmml
类 MiningFieldMetaInfo
java.lang.Object
weka.core.pmml.FieldMetaInfo
weka.core.pmml.MiningFieldMetaInfo
- 所有已实现的接口:
Serializable
Class encapsulating information about a MiningField.
- 版本:
- $Revision: 5562 $
- 作者:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 weka.core.pmml.FieldMetaInfo
FieldMetaInfo.Interval, FieldMetaInfo.Optype, FieldMetaInfo.Value
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明double
applyMissingValueTreatment
(double value) Apply the missing value treatment method for this field.double
applyOutlierTreatment
(double value) Apply the outlier treatment method for this field.Return this mining field as an Attribute.weka.core.pmml.MiningFieldMetaInfo.Missing
Get the missing value treatment method for this field.getName()
Get the name of this field.weka.core.pmml.MiningFieldMetaInfo.Outlier
Get the outlier treatment method used for this field.weka.core.pmml.MiningFieldMetaInfo.Usage
Get the usage type of this field.void
setIndex
(int index) Set the index of this field in the mining schema InstancestoString()
Return a textual representation of this MiningField.从类继承的方法 weka.core.pmml.FieldMetaInfo
getFieldName, getOptype
-
构造器详细资料
-
MiningFieldMetaInfo
Constructs a new MiningFieldMetaInfo object.- 参数:
field
- the Element that contains the field information- 抛出:
Exception
- if there is a problem during construction
-
-
方法详细资料
-
getUsageType
public weka.core.pmml.MiningFieldMetaInfo.Usage getUsageType()Get the usage type of this field.- 返回:
- the usage type of this field
-
toString
Return a textual representation of this MiningField. -
setIndex
public void setIndex(int index) Set the index of this field in the mining schema Instances- 参数:
index
- the index of the attribute in the mining schema Instances that this field represents
-
getName
Get the name of this field.- 返回:
- the name of this field
-
getOutlierTreatmentMethod
public weka.core.pmml.MiningFieldMetaInfo.Outlier getOutlierTreatmentMethod()Get the outlier treatment method used for this field.- 返回:
- the outlier treatment method
-
getMissingValueTreatmentMethod
public weka.core.pmml.MiningFieldMetaInfo.Missing getMissingValueTreatmentMethod()Get the missing value treatment method for this field.- 返回:
- the missing value treatment method
-
applyMissingValueTreatment
Apply the missing value treatment method for this field.- 参数:
value
- the incoming value to apply the treatment to- 返回:
- the value after applying the missing value treatment (if any)
- 抛出:
Exception
- if there is a problem
-
applyOutlierTreatment
Apply the outlier treatment method for this field.- 参数:
value
- the incoming value to apply the treatment to- 返回:
- the value after applying the treatment (if any)
- 抛出:
Exception
- if there is a problem
-
getFieldAsAttribute
Return this mining field as an Attribute.- 指定者:
getFieldAsAttribute
在类中FieldMetaInfo
- 返回:
- an Attribute for this field.
-