org.encog.app.analyst.script
Class DataField
- java.lang.Object
-
- org.encog.app.analyst.script.DataField
-
- Direct Known Subclasses:
- AnalyzedField
public class DataField extends java.lang.ObjectHolds stats on a data field for the Encog Analyst. This data is used to normalize the field.
-
-
Constructor Summary
Constructors Constructor and Description DataField(java.lang.String theName)Construct the data field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<AnalystClassItem>getClassMembers()doublegetMax()doublegetMean()doublegetMin()intgetMinClassCount()Determine the minimum class count.java.lang.StringgetName()java.lang.StringgetSource()doublegetStandardDeviation()booleanisClass()booleanisComplete()booleanisInteger()booleanisReal()voidsetClass(boolean theClass)voidsetComplete(boolean theComplete)voidsetInteger(boolean theInteger)voidsetMax(double theMax)voidsetMean(double theMean)voidsetMin(double theMin)voidsetName(java.lang.String theName)voidsetReal(boolean theReal)voidsetSource(java.lang.String source)voidsetStandardDeviation(double theStandardDeviation)
-
-
-
Constructor Detail
-
DataField
public DataField(java.lang.String theName)
Construct the data field.- Parameters:
theName- The name of this field.
-
-
Method Detail
-
getClassMembers
public java.util.List<AnalystClassItem> getClassMembers()
- Returns:
- the classMembers
-
getMax
public double getMax()
- Returns:
- the max
-
getMean
public double getMean()
- Returns:
- the mean
-
getMin
public double getMin()
- Returns:
- the min
-
getMinClassCount
public int getMinClassCount()
Determine the minimum class count. This is the count of the classification field that is the smallest.- Returns:
- The minimum class count.
-
getName
public java.lang.String getName()
- Returns:
- the name
-
getStandardDeviation
public double getStandardDeviation()
- Returns:
- the standardDeviation
-
isClass
public boolean isClass()
- Returns:
- the isClass
-
isComplete
public boolean isComplete()
- Returns:
- the isComplete
-
isInteger
public boolean isInteger()
- Returns:
- the isInteger
-
isReal
public boolean isReal()
- Returns:
- the isReal
-
setClass
public void setClass(boolean theClass)
- Parameters:
theClass- the isClass to set
-
setComplete
public void setComplete(boolean theComplete)
- Parameters:
theComplete- the isComplete to set
-
setInteger
public void setInteger(boolean theInteger)
- Parameters:
theInteger- the isInteger to set
-
setMax
public void setMax(double theMax)
- Parameters:
theMax- the max to set
-
setMean
public void setMean(double theMean)
- Parameters:
theMean- the mean to set
-
setMin
public void setMin(double theMin)
- Parameters:
theMin- the theMin to set
-
setName
public void setName(java.lang.String theName)
- Parameters:
theName- the name to set
-
setReal
public void setReal(boolean theReal)
- Parameters:
theReal- the isReal to set
-
setStandardDeviation
public void setStandardDeviation(double theStandardDeviation)
- Parameters:
theStandardDeviation- the standardDeviation to set
-
getSource
public java.lang.String getSource()
-
setSource
public void setSource(java.lang.String source)
-
-
DMelt 3.0 © DataMelt by jWork.ORG