This is the CSYE7200 FinalProject for Team9 Fall2017
Team member:
Bowei Wang - [email protected]
Qichu Zhao - [email protected]
You Li - [email protected]
The goal of this project is to predict stock price movement based on historical data points and visualize the difference between the prediction and the actual stock prices. If time permits, we would also like to apply this algorithm to the real-time stock quotes.
Spark Timeseries:
LSTM:
- LSTMs is one kind of Recurrent Neural Networks
- Data for RNNs are time series
- Input data has shape [numExamples,inputSize,timeSeriesLength]
- Output data has shape [numExamples,outputSize,timeSeriesLength]
- Implements the standard DataSetIterator from Deeplearning4J
- Input and target INDArrays from N-Dimensional Arrays for Java
- GravesLSTM -> GraveLSTM -> DenseLayer -> RNNOutputLayer
The arguments that can be passed while running the jar are:
Spark Timeseries:
- Source File Path
- Output File Path
- Symbol Name
- Number of dates to predict
eg: /Users/{username}/{SourceFileDir}/prices-split-adjusted.csv src/main/resources/preData_AAPL_TS.csv AAPL 5
Output: Array of Symbol Name and predict results rendered in terminal.
LSTM:
- Source File Path
- Symbol Name to predict
eg: /Users/{username}/{SourceFileDir}/prices-split-adjusted.csv AAPL
Output: Saved as csv file in src/main/resources/{symbolName}.csv