public class MiningFieldMetaInfo extends FieldMetaInfo implements Serializable
FieldMetaInfo.Interval, FieldMetaInfo.Optype, FieldMetaInfo.Value| Constructor and Description |
|---|
MiningFieldMetaInfo(Element field)
Constructs a new MiningFieldMetaInfo object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Attribute |
getFieldAsAttribute()
Return this mining field as an Attribute.
|
weka.core.pmml.MiningFieldMetaInfo.Missing |
getMissingValueTreatmentMethod()
Get the missing value treatment method for this field.
|
String |
getName()
Get the name of this field.
|
weka.core.pmml.MiningFieldMetaInfo.Outlier |
getOutlierTreatmentMethod()
Get the outlier treatment method used for this field.
|
weka.core.pmml.MiningFieldMetaInfo.Usage |
getUsageType()
Get the usage type of this field.
|
void |
setIndex(int index)
Set the index of this field in the mining schema Instances
|
String |
toString()
Return a textual representation of this MiningField.
|
getFieldName, getOptypepublic weka.core.pmml.MiningFieldMetaInfo.Usage getUsageType()
public String toString()
public void setIndex(int index)
index - the index of the attribute in the mining schema Instances
that this field representspublic String getName()
public weka.core.pmml.MiningFieldMetaInfo.Outlier getOutlierTreatmentMethod()
public weka.core.pmml.MiningFieldMetaInfo.Missing getMissingValueTreatmentMethod()
public double applyMissingValueTreatment(double value)
throws Exception
value - the incoming value to apply the treatment toException - if there is a problempublic double applyOutlierTreatment(double value)
throws Exception
value - the incoming value to apply the treatment toException - if there is a problempublic Attribute getFieldAsAttribute()
getFieldAsAttribute in class FieldMetaInfoCopyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.