Skip to main content

A package for time series forecasting using ARIMA, SARIMA, and Exponential Smoothing

Project description

Forecasting Package

The Forecasting Package provides robust time series forecasting capabilities using ARIMA, SARIMA, and Exponential Smoothing models. It includes functionalities for model optimization using Optuna and visualizing forecasts with Matplotlib.

Features

  • ARIMA: Autoregressive Integrated Moving Average model for forecasting.
  • SARIMA: Seasonal ARIMA model for handling seasonal patterns in time series data.
  • Exponential Smoothing: Includes options for additive and multiplicative seasonal effects.
  • Model Optimization: Use Optuna to find the best hyperparameters for your models.
  • Visualization: Generate and save plots of the forecasted data.

Installation

To install the package, use pip:

pip install git+https://github.com/Wasiue03/Forecasting-Python-Package.git

"""
Usage
from forecasting.forecast import main_forecasting'

forecast_series = main_forecasting(
    file_path='path/to/your/data.csv',
    column_name='your_column',
    model_type='arima',
    steps=10,
    optimize=True,
    plot=True,
    plot_path='arima_forecast.png'
)


forecast_series = main_forecasting(
    file_path='data/metrics.csv',
    column_name='value',
    model_type='sarima',
    steps=10,
    optimize=True,
    plot=True,
    plot_path='sarima_forecast.png'
)


forecast_series = main_forecasting(
    file_path='data/metrics.csv',
    column_name='value',
    model_type='exponential_smoothing',
    steps=10,
    optimize=True,
    plot=True,
    plot_path='exponential_smoothing_forecast.png'
)

"""
"""
Contributing:

If you would like to contribute to the development of this package, please fork the repository and submit a pull request. For detailed instructions on contributing, please refer to the CONTRIBUTING.md file.

"""

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

forecastify-0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forecastify-0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file forecastify-0.1.tar.gz.

File metadata

  • Download URL: forecastify-0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for forecastify-0.1.tar.gz
Algorithm Hash digest
SHA256 9a799586075ad1744fc84f6788c56639a042f9bf34b2ed59769cdba7a4bfad13
MD5 9cdd8cfcee6b45ca914d3ea7f4040b73
BLAKE2b-256 44c4293cc60de1b9f0598848b2d90422ba653b17886d44d064512338c1298575

See more details on using hashes here.

File details

Details for the file forecastify-0.1-py3-none-any.whl.

File metadata

  • Download URL: forecastify-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for forecastify-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20d701a9f51afa23f0f7c30a5507d887316099ba13bea1d2b70023f12a8a93f9
MD5 5636d83ca3f4d230a900acd988327293
BLAKE2b-256 49cb9bb8f1c95f74fcdef3464ad06df5747829af4f40f73e4d4cbdc588ef6810

See more details on using hashes here.

Supported by

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