org.encog.ml.data.temporal
public class TemporalDataDescription extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TemporalDataDescription.Type
The type of data requested.
|
Constructor and Description |
---|
TemporalDataDescription(ActivationFunction activationFunction,
double low,
double high,
TemporalDataDescription.Type type,
boolean input,
boolean predict)
Construct a data description item.
|
TemporalDataDescription(ActivationFunction activationFunction,
TemporalDataDescription.Type type,
boolean input,
boolean predict)
Construct a data description with an activation function, but no range.
|
TemporalDataDescription(TemporalDataDescription.Type type,
boolean input,
boolean predict)
Construct a data description with no activation function or range.
|
Modifier and Type | Method and Description |
---|---|
ActivationFunction |
getActivationFunction() |
double |
getHigh() |
int |
getIndex() |
double |
getLow() |
TemporalDataDescription.Type |
getType() |
boolean |
isInput() |
boolean |
isPredict() |
void |
setIndex(int index) |
public TemporalDataDescription(ActivationFunction activationFunction, double low, double high, TemporalDataDescription.Type type, boolean input, boolean predict)
activationFunction
- What activation function should be used?low
- What is the lowest allowed value.high
- What is the highest allowed value.type
- What type of data is this.input
- Used for input?predict
- Used for prediction?public TemporalDataDescription(ActivationFunction activationFunction, TemporalDataDescription.Type type, boolean input, boolean predict)
activationFunction
- The activation function.type
- The type of data.input
- Used for input?predict
- Used for prediction?public TemporalDataDescription(TemporalDataDescription.Type type, boolean input, boolean predict)
type
- The type of data.input
- Used for input?predict
- Used for prediction?public ActivationFunction getActivationFunction()
public double getHigh()
public int getIndex()
public double getLow()
public TemporalDataDescription.Type getType()
public boolean isInput()
public boolean isPredict()
public void setIndex(int index)
index
- the index to setCopyright © 2014. All Rights Reserved.