Skip to main content

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

Metadata

Release files for simd-structts 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simd-structts 0.2.1
File Size Uploaded
simd_structts-0.2.1.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simd-structts 0.2.1
File Interpreter ABI Platform
simd_structts-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 37.3 kB

Release files / simd_structts-0.2.1.tar.gz

Download URL simd_structts-0.2.1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e70a341d2f98e029615d681def61e5f5abafcc6608ec6df7f09f6b033c50ba0c
BLAKE2b-256 checksum
How to use checksums
874817fdf31077041bedea13931967c614a42235c45466aadb75c03a9934ca47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.0 Darwin/21.2.0

Release files / simd_structts-0.2.1-py3-none-any.whl

Download URL simd_structts-0.2.1-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd5408ec0171ecdf7bb6336cf3106b3ce5ff273398fa59d1f7083622e76aff9e
BLAKE2b-256 checksum
How to use checksums
3e16d8a8614fa47056a3f293118a6f15dcab43c9df72c633279d6a9ed22f7991
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.0 Darwin/21.2.0

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page