Gradient boosted time series forecasting.
Project description
MFLES
A Specific implementation from ThymeBoost written with the help of Numba.
Here is a quick Introduction:
https://github.com/tblume1992/MFLES/blob/main/examples/MFLES_Intro.ipynb
Here is a quick benchmark vs AutoETS from M4:
Quick Start:
Install via pip
pip install MFLES
Import MFLES class
from MFLES.Forecaster import MFLES
Import data
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df = pd.read_csv(r'https://raw.githubusercontent.com/jbrownlee/Datasets/master/airline-passengers.csv')
Fit and predict!
mfles = MFLES()
fitted = mfles.fit(df['Passengers'].values, seasonal_period=12)
predicted = mfles.predict(12)
plt.plot(np.append(fitted, predicted))
plt.plot(df['Passengers'].values)
plt.show()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
MFLES-0.1.9-py3-none-any.whl
(11.6 kB
view details)
File details
Details for the file MFLES-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: MFLES-0.1.9-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eab60af930d592ad3ac06feaf5d8426aa5b5d73cf880abde26b5e4e8755af6d |
|
MD5 | ee443ba556a32d4137c7ff22693a245c |
|
BLAKE2b-256 | 3be81b0344dabcc42fe3acef89a6d48de5e8f619947e6c497dc6ec4e86012088 |