Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Machine-Learning-OpenProjects/Stock_Prediction_Scala

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock_Prediction_Scala

CircleCI

This is the CSYE7200 FinalProject for Team9 Fall2017

Team member:

Bowei Wang - [email protected]

Qichu Zhao - [email protected]

You Li - [email protected]

Stock Price Prediction based on Hitorical Data

Abstract

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.

Methodology

Spark Timeseries:

LSTM:

  1. LSTMs is one kind of Recurrent Neural Networks
  2. Data for RNNs are time series
  3. Input data has shape [numExamples,inputSize,timeSeriesLength]
  4. Output data has shape [numExamples,outputSize,timeSeriesLength]
  5. Implements the standard DataSetIterator from Deeplearning4J
  6. Input and target INDArrays from N-Dimensional Arrays for Java
  7. GravesLSTM -> GraveLSTM -> DenseLayer -> RNNOutputLayer

Input and Output

The arguments that can be passed while running the jar are:

Spark Timeseries:

  1. Source File Path
  2. Output File Path
  3. Symbol Name
  4. 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:

  1. Source File Path
  2. Symbol Name to predict

eg: /Users/{username}/{SourceFileDir}/prices-split-adjusted.csv AAPL

Output: Saved as csv file in src/main/resources/{symbolName}.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%