All Projects → philipperemy → stock-volatility-google-trends

philipperemy / stock-volatility-google-trends

Licence: other
Deep Learning Stock Volatility with Google Domestic Trends: https://arxiv.org/pdf/1512.04916.pdf

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to stock-volatility-google-trends

Dog-or-Cat-TensorflowSharp-Example
An example for TensorflowSharp - classify an image as a dog or cat.
Stars: ✭ 15 (-79.73%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
Math object detection
An image recognition/object detection model that detects handwritten digits and simple math operators. The output of the predicted objects (numbers & math operators) is then evaluated and solved.
Stars: ✭ 52 (-29.73%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
Tensorflow-Wide-Deep-Local-Prediction
This project demonstrates how to run and save predictions locally using exported tensorflow estimator model
Stars: ✭ 28 (-62.16%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
Nearest-Celebrity-Face
Tensorflow Implementation of FaceNet: A Unified Embedding for Face Recognition and Clustering to find the celebrity whose face matches the closest to yours.
Stars: ✭ 30 (-59.46%)
Mutual labels:  keras-neural-networks, keras-tensorflow
Age-Gender Estimation TF-Android
Age + Gender Estimation on Android with TensorFlow Lite
Stars: ✭ 34 (-54.05%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
Invoicenet
Deep neural network to extract intelligent information from invoice documents.
Stars: ✭ 1,886 (+2448.65%)
Mutual labels:  keras-neural-networks, keras-tensorflow
Tensorflow Sentiment Analysis On Amazon Reviews Data
Implementing different RNN models (LSTM,GRU) & Convolution models (Conv1D, Conv2D) on a subset of Amazon Reviews data with TensorFlow on Python 3. A sentiment analysis project.
Stars: ✭ 34 (-54.05%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
Deep-learning-model-deploy-with-django
Serving a keras model (neural networks) in a website with the python Django-REST framework.
Stars: ✭ 76 (+2.7%)
Mutual labels:  keras-neural-networks, keras-tensorflow
Ml Classifier Ui
A UI tool for quickly training image classifiers in the browser
Stars: ✭ 224 (+202.7%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
Self Driving Car
Automated Driving in NFS using CNN.
Stars: ✭ 105 (+41.89%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
pytorch2keras
PyTorch to Keras model convertor
Stars: ✭ 788 (+964.86%)
Mutual labels:  keras-neural-networks, keras-tensorflow
Machine-Learning-Notebooks
15+ Machine/Deep Learning Projects in Ipython Notebooks
Stars: ✭ 66 (-10.81%)
Mutual labels:  keras-neural-networks, keras-tensorflow
stocktwits-sentiment
Stocktwits market sentiment analysis in Python with Keras and TensorFlow.
Stars: ✭ 23 (-68.92%)
Mutual labels:  keras-neural-networks, keras-tensorflow
Awesome-Tensorflow2
基于Tensorflow2开发的优秀扩展包及项目
Stars: ✭ 45 (-39.19%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
dl-relu
Deep Learning using Rectified Linear Units (ReLU)
Stars: ✭ 20 (-72.97%)
Mutual labels:  keras-neural-networks, keras-tensorflow
Android-Machine-Learning-With-TensorFlow
Tensor Flow implementation for Android
Stars: ✭ 17 (-77.03%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
Deep-Learning-Course
Deep Learning with TensorFlow and Keras
Stars: ✭ 13 (-82.43%)
Mutual labels:  keras-tensorflow, tensorflow-examples
Ml Classifier
A tool for quickly training image classifiers in the browser
Stars: ✭ 97 (+31.08%)
Mutual labels:  tensorflow-experiments, tensorflow-examples
GTAV-Self-driving-car
Self driving car in GTAV with Deep Learning
Stars: ✭ 15 (-79.73%)
Mutual labels:  keras-neural-networks, keras-tensorflow
Recurrent-Neural-Network-for-BitCoin-price-prediction
Recurrent Neural Network (LSTM) by using TensorFlow and Keras in Python for BitCoin price prediction
Stars: ✭ 53 (-28.38%)
Mutual labels:  keras-neural-networks, keras-tensorflow

Deep Learning Stock Volatility with Google Domestic Trends

Tensorflow/Keras implementation of the [paper].


Trend displayed in Google Domestic Trends

Status?

Work accomplished so far:

  • End-to-end implementation
  • Test the data workflow pipeline
  • Sanity check of the model
  • Train the models
  • Reproduction of the results in the paper

Plot


MAPE of the train, val and test along with dummy (benchmark future value = last value)

A new predictor is added every 600 epochs. We start with only the historical volatility as a predictor. Then, at 600 epochs, the second predictor is added: returns. At 1200, we had Trend COMPUT, 1800 Trend CRCARD, 2400 Trend INVEST and so forth.

We realized that we started to overfit after more than 5 predictors. The dataset is indeed incredibly small.

The lowest model MAPE loss on the test set coincide with the lowest MAPE loss on the validation set. They both have a comparable value (around 25), in agreement with the results found in the paper.

As a summary, the 5 best predictors are:

  • sigma (volatility)
  • returns
  • Trend COMPUT
  • Trend CRCARD
  • Trend INVEST

As a conclusion, I'm a bit curious to know how they trained a model with 30 predictors on a such tiny dataset. They don't mention any information related to the model. It's just composed of a LSTM layer. I'm also a bit skeptical about this approach in general.

How to run it?

# might require python3.6.
git clone https://github.com/philipperemy/stock-volatility-google-trends.git svgt
cd svgt
pip3 install -r requirements.txt
python3 run_model.py
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].