Skip to content

AI code for Stock Price Prediction App using Machine Learning Models Optimized by Evolution

Notifications You must be signed in to change notification settings

jarodgeng/FYP-AI

 
 

Repository files navigation

AI

Get Started

  1. Install Python 3.6
  2. Create a virtual environment named env using venv
  3. Activate the virtual environment
  4. Install all dependencies (pip install -r requirements.txt)
  5. Start the server (flask run)

Train Models

  1. Prepare a train models data JSON based on train_models_sample.json.
  2. python train_models.py <train_models_data_path>

Save Predictions in Local

  1. python save_predictions.py local <stock_code>

Save Predictions onto Firebase Cloud Storage

  1. Download Firebase service account key from Firebase Console and save it as firebase-adminsdk.json in credentials.
  2. python save_predictions.py cloud <stock_code>

Docs

About

AI code for Stock Price Prediction App using Machine Learning Models Optimized by Evolution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 54.7%
  • Python 45.3%