|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.pmml.FieldMetaInfo
weka.core.pmml.MiningFieldMetaInfo
public class MiningFieldMetaInfo
Class encapsulating information about a MiningField.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class weka.core.pmml.FieldMetaInfo |
|---|
FieldMetaInfo.Interval, FieldMetaInfo.Optype, FieldMetaInfo.Value |
| Constructor Summary | |
|---|---|
MiningFieldMetaInfo(org.w3c.dom.Element field)
Constructs a new MiningFieldMetaInfo object. |
|
| Method Summary | |
|---|---|
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. |
java.lang.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 |
java.lang.String |
toString()
Return a textual representation of this MiningField. |
| Methods inherited from class weka.core.pmml.FieldMetaInfo |
|---|
getFieldName, getOptype |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MiningFieldMetaInfo(org.w3c.dom.Element field)
throws java.lang.Exception
field - the Element that contains the field information
java.lang.Exception - if there is a problem during construction| Method Detail |
|---|
public weka.core.pmml.MiningFieldMetaInfo.Usage getUsageType()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setIndex(int index)
index - the index of the attribute in the mining schema Instances
that this field representspublic java.lang.String getName()
public weka.core.pmml.MiningFieldMetaInfo.Outlier getOutlierTreatmentMethod()
public weka.core.pmml.MiningFieldMetaInfo.Missing getMissingValueTreatmentMethod()
public double applyMissingValueTreatment(double value)
throws java.lang.Exception
value - the incoming value to apply the treatment to
java.lang.Exception - if there is a problem
public double applyOutlierTreatment(double value)
throws java.lang.Exception
value - the incoming value to apply the treatment to
java.lang.Exception - if there is a problempublic Attribute getFieldAsAttribute()
getFieldAsAttribute in class FieldMetaInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||