Skip to main content

"This package implements MSSA and SSA in Python, which are used for time series decomposition, forecasting values and estimation of roots of signals"

Project description

PY-SSA-LIB PACKAGE

Intro

Welcome to the page of the py-ssa-lib package! This package contains python implementations of the Singular Spectrum Analysis(SSA) and Multichannel Singular Spectrum Analysis(MSSA).

It can be used for the time series analysis and forecasting.

Please, take a look at the guides for SSA and MSSA which are available in the corresponding directory !

Mathematical Background

The Wiki for the py-ssa-lib package is now available and will be periodically updated. It contains some theoretical background about the MSSA and SSA.

Updates

NEW: The bootstrap prediction intervals are now available both for MSSA and SSA( and other models from other packages, since it is model free). Just import bootstrap_prediction_intervals from the new module tools and pass residuals and forecasted values.

Installation

$ python -m pip install py-ssa-lib

Requirements

The required packages are listed in the requirements.txt and can be installed from this file via pip.

All dependencies should be automatically installed during the installation of the py-ssa-lib

The classes in the py-ssa-lib heavily rely on the numpy, scipy, sklearn, pandas and matplotlib libraries.

Similar Python Packages

Before the development of the py-ssa-lib I searched for the the Python packages which implement both MSSA and SSA, and found only few decent packages with the similar functionality:

However, they seem to be no longer maintained and they provided a limited functionality in comparison to what I need. (Arguably) the best functionality is provided by the RSSA-package in R (https://github.com/asl/rssa). So the aim of this package is to migrate the most useful functions from the RSSA-package into Python, in order to provide a seamless workflow for the time series analysis.

List of the Core Packages

Literature about SSA and MSSA

Citation

If you find this package useful, please, cite:

Konstantin Ibadullaev, https://github.com/K-Ibadullaev/py_ssa-lib/

(This file and the citation format will change over time.)

Acknowledgements

This package is developed as a part of the research project "Intelligent Geosystems" (100693905) supported by ESF funding

alt text

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

py_ssa_lib-1.3.0.1.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

py_ssa_lib-1.3.0.1-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file py_ssa_lib-1.3.0.1.tar.gz.

File metadata

  • Download URL: py_ssa_lib-1.3.0.1.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for py_ssa_lib-1.3.0.1.tar.gz
Algorithm Hash digest
SHA256 d4d7b789fa4fcdfb45f557b801df832c722b6f6e55227fa5a6d20634de3a2855
MD5 6715f58f2d92beaa124ec15890c0c60e
BLAKE2b-256 97cd6ef41905f053fd9d478a06b43c9f6d7aef00fcdb82db633159d57364e8bc

See more details on using hashes here.

File details

Details for the file py_ssa_lib-1.3.0.1-py3-none-any.whl.

File metadata

  • Download URL: py_ssa_lib-1.3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for py_ssa_lib-1.3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f86f8eb69317f2c061a4b537d4cfa044d59897cd4239e0293825fbff3f6651b
MD5 cd4fe07c68319642ea451e3f9fea5696
BLAKE2b-256 5f44db5cba2a9580d1590208dd6e78b22529f1bbc438ae0f7823c1f772d906bb

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