Skip to main content

ML based forecasting

Project description

Forecasting

Install

First, clone the repo like and cd to its root path, like so:

git clone git@github.com:JaumeAmoresDS/forecasting.git
cd forecasting

Then install dependencies using one of the following options:

Option 1: installing from forecasting.yml file

conda env create -n forecasting --file forecasting.yml
conda activate forecasting

Option 2: installing from requirements file

conda create -n forecasting python=3.10 pip
conda activate forecasting
pip install requirements.txt

Option 3: installing from setup.py

conda create -n forecasting python=3.10  pip
conda activate forecasting
pip install -e .[dev]

How to use

Run:

python scripts/run_pipeline.py

This will save the predictions into a file called predictions.parquet. To display it, you can do something like:

import pandas as pd

predictions = pd.read_parquet ('predictions.parquet')
predictions.plot ();

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tsforecast-0.0.1.tar.gz (22.2 kB view hashes)

Uploaded Source

Built Distribution

tsforecast-0.0.1-py3-none-any.whl (23.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page