Kulbear / Stock Prediction
Licence: mit
Stock price prediction with recurrent neural network. The data is from the Chinese stock.
Stars: β 219
Labels
Projects that are alternatives of or similar to Stock Prediction
Research Paper Notes
Notes and Summaries on ML-related Research Papers (with optional implementations)
Stars: β 218 (-0.46%)
Mutual labels: jupyter-notebook
Hacktoberfest2020
A repo for new open source contributors to begin with open source contribution. Contribute and earn awesome swags.
Stars: β 221 (+0.91%)
Mutual labels: jupyter-notebook
Medical Ai Course Materials
γ‘γγ£γ«γ«AIγ³γΌγΉ γͺγ³γ©γ€γ³θ¬ηΎ©θ³ζ
Stars: β 218 (-0.46%)
Mutual labels: jupyter-notebook
Pixel level land classification
Tutorial demonstrating how to create a semantic segmentation (pixel-level classification) model to predict land cover from aerial imagery. This model can be used to identify newly developed or flooded land. Uses ground-truth labels and processed NAIP imagery provided by the Chesapeake Conservancy.
Stars: β 217 (-0.91%)
Mutual labels: jupyter-notebook
Python Awesome
Learn Python, Easy to learn, Awesome
Stars: β 219 (+0%)
Mutual labels: jupyter-notebook
Cardio
CardIO is a library for data science research of heart signals
Stars: β 218 (-0.46%)
Mutual labels: jupyter-notebook
Pytorch Deep Learning Template
A Pytorch Computer Vision template to quick start your next project! ππ
Stars: β 220 (+0.46%)
Mutual labels: jupyter-notebook
Arima Lstm Hybrid Corrcoef Predict
Applied an ARIMA-LSTM hybrid model to predict future price correlation coefficients of two assets
Stars: β 218 (-0.46%)
Mutual labels: jupyter-notebook
Ml Tutorial Experiment
Coding the Machine Learning Tutorial for Learning to Learn
Stars: β 2,489 (+1036.53%)
Mutual labels: jupyter-notebook
Weightwatcher
The WeightWatcher tool for predicting the accuracy of Deep Neural Networks
Stars: β 213 (-2.74%)
Mutual labels: jupyter-notebook
Tcdf
Temporal Causal Discovery Framework (PyTorch): discovering causal relationships between time series
Stars: β 217 (-0.91%)
Mutual labels: jupyter-notebook
Edaviz
edaviz - Python library for Exploratory Data Analysis and Visualization in Jupyter Notebook or Jupyter Lab
Stars: β 220 (+0.46%)
Mutual labels: jupyter-notebook
Data Visualization
Data Visualization with Python
Stars: β 217 (-0.91%)
Mutual labels: jupyter-notebook
Gwu data mining
Materials for GWU DNSC 6279 and DNSC 6290.
Stars: β 217 (-0.91%)
Mutual labels: jupyter-notebook
Deform conv pytorch
PyTorch Implementation of Deformable Convolution
Stars: β 217 (-0.91%)
Mutual labels: jupyter-notebook
Amazing Feature Engineering
Feature engineering is the process of using domain knowledge to extract features from raw data via data mining techniques. These features can be used to improve the performance of machine learning algorithms. Feature engineering can be considered as applied machine learning itself.
Stars: β 218 (-0.46%)
Mutual labels: jupyter-notebook
Kitti Dataset
Visualising LIDAR data from KITTI dataset.
Stars: β 217 (-0.91%)
Mutual labels: jupyter-notebook
Stock Prediction with Recurrent Neural Network
Stock price prediction with RNN. The data we used is from the Chinese stock.
Requirements
- Python 3.5
- TuShare 0.7.4
- Pandas 0.19.2
- Keras 1.2.2
- Numpy 1.12.0
- scikit-learn 0.18.1
- TensorFlow 1.0 (GPU version recommended)
I personally recommend you to use Anaconda to build your virtual environment. And the program probably cost a significant time if you are not using the GPU version Tensorflow.
Get Data
You can run fetch_data.py
to get a piece of test data. Without changing the script, you can get two seperated csv file named:
-
000002-from-1995-01-01.csv
=====> Contains general data for stock 000002 from 1995-01-01 to today. -
000002-3-year.csv
=====> Contains candlestick chart data for stock 000002 (δΈη§A) for the most recent 3 years.
You are expected to see results look like (the first DataFrame contains general data where the the second contains detailed candlestick chart data):
$ python3 fetch_data.py
[Getting data:]#########################################################################################
Saving DataFrame:
open high low volume amount close
0 20.64 20.64 20.37 16362363.0 3.350027e+08 20.56
1 20.92 20.92 20.60 21850597.0 4.520071e+08 20.64
2 21.00 21.15 20.72 26910139.0 5.628396e+08 20.94
3 20.70 21.57 20.70 64585536.0 1.363421e+09 21.02
4 20.60 20.70 20.20 45886018.0 9.382043e+08 20.70
Saving DataFrame:
open high low volume price_change p_change ma5 ma10 \
0 20.64 20.64 20.37 163623.62 -0.08 -0.39 20.772 20.721
1 20.92 20.92 20.60 218505.95 -0.30 -1.43 20.780 20.718
2 21.00 21.15 20.72 269101.41 -0.08 -0.38 20.812 20.755
3 20.70 21.57 20.70 645855.38 0.32 1.55 20.782 20.788
4 20.60 20.70 20.20 458860.16 0.10 0.48 20.694 20.806
ma20 v_ma5 v_ma10 v_ma20 close
0 20.954 351189.30 388345.91 394078.37 20.56
1 20.990 373384.46 403747.59 411728.38 20.64
2 21.022 392464.55 405000.55 426124.42 20.94
3 21.054 445386.85 403945.59 473166.37 21.02
4 21.038 486615.13 378825.52 461835.35 20.70
Demo
Reference
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].