All Projects → SingingData → Stockperformanceclassification

SingingData / Stockperformanceclassification

Keras 1D CNN on Azure ML Workbench to classify 4 week stock performance based on text in public earnings statements

Projects that are alternatives of or similar to Stockperformanceclassification

Geostatsmodels
This is a collection of geostatistical scripts written in Python
Stars: ✭ 125 (-0.79%)
Mutual labels:  jupyter-notebook
Meteorological Books
气象相关书籍合集(持续更新)
Stars: ✭ 125 (-0.79%)
Mutual labels:  jupyter-notebook
Python
利用python来分析一些财务报表数据
Stars: ✭ 125 (-0.79%)
Mutual labels:  jupyter-notebook
Scir Training Day
a small training program for new crews of HIT-SCIR
Stars: ✭ 125 (-0.79%)
Mutual labels:  jupyter-notebook
The Data Science Workshop
A New, Interactive Approach to Learning Data Science
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Normalizing Flows
Understanding normalizing flows
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Dive Into Machine Learning
Dive into Machine Learning with Python Jupyter notebook and scikit-learn! First posted in 2016, maintained as of 2021. Pull requests welcome.
Stars: ✭ 10,810 (+8479.37%)
Mutual labels:  jupyter-notebook
Deepkoopman
neural networks to learn Koopman eigenfunctions
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Teaching Monolith
Data science teaching materials
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Simplestockanalysispython
Stock Analysis Tutorial in Python
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Modular Rl
[ICML 2020] PyTorch Code for "One Policy to Control Them All: Shared Modular Policies for Agent-Agnostic Control"
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Understandingbdl
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Alfnet
Code for 'Learning Efficient Single-stage Pedestrian Detectors by Asymptotic Localization Fitting' in ECCV2018
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Python Audio
Some Jupyter notebooks about audio signal processing with Python
Stars: ✭ 125 (-0.79%)
Mutual labels:  jupyter-notebook
Nlpmetrics
Python code for various NLP metrics
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
First Order Model
This repository contains the source code for the paper First Order Motion Model for Image Animation
Stars: ✭ 11,964 (+9395.24%)
Mutual labels:  jupyter-notebook
Cmucomputationalphotography
Jupyter Notebooks for CMU Computational Photography Course 15.463
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Reptilesomething
抓点什么玩玩~
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
L4 Optimizer
Code for paper "L4: Practical loss-based stepsize adaptation for deep learning"
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook
Examples
Stars: ✭ 126 (+0%)
Mutual labels:  jupyter-notebook

Stock Performance Classification with a 1D CNN, Keras and Azure ML Workbench

Overview

We recently worked with a financial services partner to develop a model to predict the future stock market performance of public companies in categories where they invest. The goal was to use select text narrative sections from publicly available earnings release documents to predict and alert their analytics to investment opportunities and risks. We developed a deep learning model using a one-dimensional convolutional neural network (a 1D CNN) based on text extracted from public financial statements from these companies to make these predictions. We used Azure Machine Learning Workbench to explore the data and develop the model. We modeled using the Keras deep learning Python framework with a Theano backend. The results demonstrate how a deep learning model trained on text in earnings releases and other sources could provide a valuable signal to the investment decision maker.

This initial result suggests that that deep learning models trained on text in earnings releases and other sources could prove a viable mechanism to improve the quality of the information available to the person making the investment decision, particularly in avoiding investment losses. While the model needs to be improved with more samples, refinements of domain-specific vocabulary and text augmentation, this model suggests that providing this signal as another decision input for investmennt analyst would improve the efficiency of the firm’s analysis work.

The history of model training and testing is below, trained for 24 epochs. alt text

Model Architecture

This graphic depicts the model architecture. alt text

This graphic gives you a summary of this model at each level.
alt text

Azure ML Workbench

We built the solution on the Azure ML Workbench python environment. We found the following installs and upgrades were required.

Installs and Upgrades Required (Order is Important)

  • conda install mkl-service
  • conda install m2w64-toolchain
  • conda install -c anaconda libpython=2.0
  • pip install numpy==1.13.0
  • pip install keras #Remember to change back0end to theano in the backend folder w/in keras, init file
  • pip install theano
  • pip install gensim
  • pip install nltk
  • pip install cloudpickle
  • pip install --upgrade pandas
  • pip install --upgrade gensim
  • pip install importio
  • pip install matplotlib
  • pip install netwrokx
  • pip install h5py
  • pip install pyparsing==1.5.7
  • pip install graphviz
  • Install graphviz binaries linked in this issue https://stackoverflow.com/questions/36886711/keras-runtimeerror-failed-to-import-pydot-after-installing-graphviz-and-pyd
  • pip install pydotplus
  • In vis_utils.py comment out def _check_pydot(): lines 19 through 28
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].