org.encog.ml.data.market
Class MarketDataDescription
- java.lang.Object
-
- org.encog.ml.data.temporal.TemporalDataDescription
-
- org.encog.ml.data.market.MarketDataDescription
-
public class MarketDataDescription extends TemporalDataDescription
This class is used to describe the type of financial data that is needed. Each piece of data can be used for input, prediction or both. If used for input, it will be used as data to help predict. If used for prediction, it will be one of the values predicted. It is possible, and quite common, to use data from both input and prediction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.encog.ml.data.temporal.TemporalDataDescription
TemporalDataDescription.Type
-
-
Constructor Summary
Constructors Constructor and Description MarketDataDescription(TickerSymbol ticker, MarketDataType dataType, boolean input, boolean predict)Construct a MarketDataDescription item.MarketDataDescription(TickerSymbol ticker, MarketDataType dataType, TemporalDataDescription.Type type, ActivationFunction activationFunction, boolean input, boolean predict)Construct a MarketDataDescription item.MarketDataDescription(TickerSymbol ticker, MarketDataType dataType, TemporalDataDescription.Type type, boolean input, boolean predict)Construct a MarketDataDescription item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description MarketDataTypegetDataType()TickerSymbolgetTicker()-
Methods inherited from class org.encog.ml.data.temporal.TemporalDataDescription
getActivationFunction, getHigh, getIndex, getLow, getType, isInput, isPredict, setIndex
-
-
-
-
Constructor Detail
-
MarketDataDescription
public MarketDataDescription(TickerSymbol ticker, MarketDataType dataType, TemporalDataDescription.Type type, ActivationFunction activationFunction, boolean input, boolean predict)
Construct a MarketDataDescription item.- Parameters:
ticker- The ticker symbol to use.dataType- The data type needed.type- The normalization type.activationFunction- The activation function to apply to this data, can be null.input- Is this field used for input?predict- Is this field used for prediction?
-
MarketDataDescription
public MarketDataDescription(TickerSymbol ticker, MarketDataType dataType, TemporalDataDescription.Type type, boolean input, boolean predict)
Construct a MarketDataDescription item.- Parameters:
ticker- The ticker symbol to use.dataType- The data type needed.type- The normalization type.input- Is this field used for input?predict- Is this field used for prediction?
-
MarketDataDescription
public MarketDataDescription(TickerSymbol ticker, MarketDataType dataType, boolean input, boolean predict)
Construct a MarketDataDescription item.- Parameters:
ticker- The ticker symbol to use.dataType- The data type needed.input- Is this field used for input?predict- Is this field used for prediction?
-
-
Method Detail
-
getDataType
public MarketDataType getDataType()
- Returns:
- the dataType
-
getTicker
public TickerSymbol getTicker()
- Returns:
- the ticker
-
-
DMelt 3.0 © DataMelt by jWork.ORG