Skip to main content

SIMD StuctTS Model with various backends

Project description

simd-structts

pypi PyPI - Python Version Build Status codecov Code style: black License: MIT Contributions welcome Multivariate forecasting using StructTS/Unobserved Components model without MLE param estimation.

🤦🏾‍ Motivation

I love structts model and Kalman filters for forecasting. Sometimes you just want a model that works out of the box without designing a model with a Kalman filter, especially if you need to use long seasonalites and exog variables. Defining all these state space matrices gets tedious pretty quickly...

The code in this repo is an attempt to bring a familiar API to multivariate StructTS model, currently with the simdkalman library as a backend.

👩🏾‍🚀 Installation

  pip install simd-structts

📋 WIP:

  • Statsmodels and simdkalman backend implementation.
  • Equal filtered/smoothed/predicted states for level/trend models.
  • Proper testing for multiple python versions.
  • Equal filtered/smoothed/predicted states for exog components.
  • Equal filtered/smoothed/predicted states for long seasonal fourier components.
  • Passing tests for statsmodels-like initialization of model.
  • Pretty API with ABC and stuff.
  • Example notebook
  • Gradient methods for finding optimal params

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

simd_structts-0.2.1.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

simd_structts-0.2.1-py3-none-any.whl (20.8 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