https://github.com/26hzhang/stockprediction
Plain Stock Close-Price Prediction via Graves LSTM RNNs
https://github.com/26hzhang/stockprediction
deeplearning4j java lstm recurrent-neural-networks spark-dataframes stock-price-prediction
Last synced: about 1 year ago
JSON representation
Plain Stock Close-Price Prediction via Graves LSTM RNNs
- Host: GitHub
- URL: https://github.com/26hzhang/stockprediction
- Owner: 26hzhang
- License: mit
- Created: 2017-07-27T03:31:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-02-15T07:43:18.000Z (over 5 years ago)
- Last Synced: 2025-03-27T01:09:49.880Z (about 1 year ago)
- Topics: deeplearning4j, java, lstm, recurrent-neural-networks, spark-dataframes, stock-price-prediction
- Language: Java
- Size: 41.3 MB
- Stars: 195
- Watchers: 23
- Forks: 113
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Plain Stock Prediction
-blue.svg)      
Plain Stock Price Prediction via RNNs with Graves LSTM unit.
Training and Predicting a specific feature by setting `PriceCategory` in `com.isaac.stock.predict.StockPricePrediction.java` as:
```java
PriceCategory category = PriceCategory.CLOSE; // CLOSE: train and predict close price
// or
PriceCategory category = PriceCategory.OPEN; // OPEN: train and predict open price
// ...
```
The `PriceCategory` enum:
```java
public enum PriceCategory {
OPEN, CLOSE, LOW, HIGH, VOLUME, ALL
}
```
Predicting all features as:
```java
PriceCategory category = PriceCategory.ALL; // ALL: train and predict all features
```
**Demo Result**

**A Useful GitHub Repository**: [timestocome/Test-stock-prediction-algorithms](https://github.com/timestocome/Test-stock-prediction-algorithms), which contains much information, methods and sources about predict stock and market movements.