org.encog.util.arrayutil
Class TemporalWindowField
- java.lang.Object
-
- org.encog.util.arrayutil.TemporalWindowField
-
public class TemporalWindowField extends java.lang.ObjectThis class specifies how fields are to be used by the TemporalWindowCSV class.
-
-
Constructor Summary
Constructors Constructor and Description TemporalWindowField(java.lang.String theName)Construct the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TemporalTypegetAction()booleangetInput()java.lang.StringgetLastValue()java.lang.StringgetName()booleangetPredict()voidsetAction(TemporalType theAction)voidsetLastValue(java.lang.String theLastValue)voidsetName(java.lang.String theName)java.lang.StringtoString()
-
-
-
Constructor Detail
-
TemporalWindowField
public TemporalWindowField(java.lang.String theName)
Construct the object.- Parameters:
theName- The name of the field to be considered.
-
-
Method Detail
-
getAction
public final TemporalType getAction()
- Returns:
- the action
-
getInput
public final boolean getInput()
- Returns:
- Returns true, if this field is to be used as part of the input for a prediction.
-
getLastValue
public final java.lang.String getLastValue()
- Returns:
- the lastValue
-
getName
public final java.lang.String getName()
- Returns:
- the name
-
getPredict
public final boolean getPredict()
- Returns:
- Returns true, if this field is part of what is being predicted.
-
setAction
public final void setAction(TemporalType theAction)
- Parameters:
theAction- the action to set
-
setLastValue
public final void setLastValue(java.lang.String theLastValue)
- Parameters:
theLastValue- the lastValue to set
-
setName
public final void setName(java.lang.String theName)
- Parameters:
theName- the name to set
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG