Skip to content

marcus-24/Stock-Predictor-ML-Training

Repository files navigation

Stock-Predictor-ML-Training

Objective

This repository is used to train the Tensorflow model, track the training metrics on Neptune AI, and deploy model artifacts to Hugging Face if the model accuracy has improved since the deployed model became stale.

Project Setup

Python Environment

First install the Python environment using:

conda env create -f environment.yml

Then you can activate the environment with the command below: conda activate stock_ml_train

Neptune AI Experiment Tracker

To track each training iteration, you will first need to create an account at Neptune.ai. Then follow the Create a Neptune Project tutorial to create project that will store each experiment run.

In order for this code to communicate with Neptune.ai, you will need to provide it the API token as shown in the Set Neptune credentials page. This code requires the user to store the token as NEPTUNE_TOKEN in a .env file.

Hugging Face Credentials

Connected Services

This repository interacts with the following services below:

  1. Stock-Predictor-ML-Inference
  2. Stock-Predictor-Frontend

About

Machine Learning Operations (MLOps) pipeline for my stock prediction forecast model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published