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 details)

Uploaded Source

Built Distribution

simd_structts-0.2.1-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file simd_structts-0.2.1.tar.gz.

File metadata

  • Download URL: simd_structts-0.2.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.0 Darwin/21.2.0

File hashes

Hashes for simd_structts-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e70a341d2f98e029615d681def61e5f5abafcc6608ec6df7f09f6b033c50ba0c
MD5 4049c408134994a811e7e16a05380d51
BLAKE2b-256 874817fdf31077041bedea13931967c614a42235c45466aadb75c03a9934ca47

See more details on using hashes here.

File details

Details for the file simd_structts-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: simd_structts-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.0 Darwin/21.2.0

File hashes

Hashes for simd_structts-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd5408ec0171ecdf7bb6336cf3106b3ce5ff273398fa59d1f7083622e76aff9e
MD5 274f33d37a54a2dbd467e73bcaa76848
BLAKE2b-256 3e16d8a8614fa47056a3f293118a6f15dcab43c9df72c633279d6a9ed22f7991

See more details on using hashes here.

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