Skip to main content

Python version of the smooth forecasting library

Project description

smooth (Python)

PyPI version PyPI - Downloads Python CI Python versions License: LGPL-2.1

Python implementation of the smooth package for time series forecasting using Single Source of Error (SSOE) state-space models.

hex-sticker of the smooth package for Python

Installation

From PyPI (recommended):

pip install smooth

From source (development):

pip install "git+https://github.com/config-i1/smooth.git@master#subdirectory=python"

See the Installation Guide for platform-specific instructions.

System Requirements

If installing from source, this package requires compilation of C++ extensions. Before installing, ensure you have:

  • C++ compiler (g++, clang++, or MSVC)
  • CMake >= 3.25
  • Armadillo linear algebra library

Quick Example

import numpy as np
from smooth import ADAM

# Sample data
y = np.array([10, 12, 15, 13, 16, 18, 20, 19, 22, 25, 28, 30,
              11, 13, 16, 14, 17, 19, 21, 20, 23, 26, 29, 31])

# Fit ADAM model with additive error, no trend, no seasonality
model = ADAM(model="ANN")
model.fit(y)

# Generate forecasts
forecasts = model.predict(h=12)

# With seasonal component (monthly data, annual seasonality)
model = ADAM(model="ANA", lags=[1, 12])
model.fit(y)
forecasts = model.predict(h=12)

Documentation

Book: Svetunkov, I. (2023). Forecasting and Analytics with the Augmented Dynamic Adaptive Model (ADAM). Chapman and Hall/CRC. Online: https://openforecast.org/adam/

See Also

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

smooth-1.0.0.tar.gz (10.3 MB view details)

Uploaded Source

Built Distributions

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

smooth-1.0.0-cp313-cp313-win_amd64.whl (508.4 kB view details)

Uploaded CPython 3.13Windows x86-64

smooth-1.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

smooth-1.0.0-cp313-cp313-macosx_11_0_arm64.whl (483.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

smooth-1.0.0-cp313-cp313-macosx_10_13_x86_64.whl (514.1 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

smooth-1.0.0-cp312-cp312-win_amd64.whl (508.4 kB view details)

Uploaded CPython 3.12Windows x86-64

smooth-1.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

smooth-1.0.0-cp312-cp312-macosx_11_0_arm64.whl (483.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

smooth-1.0.0-cp312-cp312-macosx_10_13_x86_64.whl (514.0 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

smooth-1.0.0-cp311-cp311-win_amd64.whl (507.0 kB view details)

Uploaded CPython 3.11Windows x86-64

smooth-1.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (11.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

smooth-1.0.0-cp311-cp311-macosx_11_0_arm64.whl (485.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

smooth-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl (513.0 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

smooth-1.0.0-cp310-cp310-win_amd64.whl (504.5 kB view details)

Uploaded CPython 3.10Windows x86-64

smooth-1.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

smooth-1.0.0-cp310-cp310-macosx_11_0_arm64.whl (482.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

smooth-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl (508.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file smooth-1.0.0.tar.gz.

File metadata

  • Download URL: smooth-1.0.0.tar.gz
  • Upload date:
  • Size: 10.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smooth-1.0.0.tar.gz
Algorithm Hash digest
SHA256 96bb4563d59aea3793b7c684e9d5e988352450810f792df5e1f22b2bc1ff5084
MD5 43fc7b211497e9756fa17873da13c0de
BLAKE2b-256 1add39d1dfc91a9973eea06a6e2d392fdc01d69e76ceca207cab395806db7f4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0.tar.gz:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: smooth-1.0.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 508.4 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smooth-1.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 839a3f58bfda2693613f8d2c8158877bfe3bfcd313be71fe7705ac00539d5e8b
MD5 0b9c699eeda3cf2087a415de3b124c9c
BLAKE2b-256 1132fca496c8cbc30c9c537a5ba944d43a4ef65669227cfb7f41d459ccf64d67

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp313-cp313-win_amd64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 25fec8801a3bf794a5f99ef89fd8e6a5fa30b83cb1415be8354dba8032659b5a
MD5 08e0a6a1e7de88d1e58ef02d9351b818
BLAKE2b-256 1f7a43dc12ae7a77930debf55419640cd04b6c0544f495733d083a86ea81eb42

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 649675f55effb9e67e9c08b640ab7892b909be17596d10a3f9f4571d69fcce1f
MD5 6c9835ec1f3b645b0fc875fbb018ac9e
BLAKE2b-256 23a038adc6732f4dfb20b9bfb5b6bac4d549ff1431a1b4054dfdc6c98a40a9ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 3742e1bf5cd4acf77834bccdf8e9fc926f1d6ac1bbb764698825aa00d9756871
MD5 c34198f990026d367525e3ab5a43a603
BLAKE2b-256 c3786654cc0419f02ca00915bea4e3b288fda1ebfed9d35a842ec80275d3f0a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp313-cp313-macosx_10_13_x86_64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: smooth-1.0.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 508.4 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smooth-1.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5e2b462cb4875abe6723caffaeb20cf506b40ffc6580e1b2f91de97eeba303cf
MD5 42fdcc758c7c93e31a08b19681ec1db3
BLAKE2b-256 8d72cfed356ce041e3f2257d0c4ad04c038a2966930733e1d4cec23a7ca57dfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp312-cp312-win_amd64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4e543014ee648ee80be293161b80e44509703c411e8508779809c1502a081a2d
MD5 d41f745fa500bd20ad17cdf1406094d6
BLAKE2b-256 0037542e98b71b40e0a2f25ed6872987295ead3acc9b7f0d14319b3b3896b20e

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af596c509ab24d83549843ac42311d0e1565036a309798bd1802aed262ca68e4
MD5 ba7395978e629e33d8821bfd8f8b411d
BLAKE2b-256 d9fc547576da996f5baa89c62061c7e91e5f8ca54a9691b212b27be85e599477

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7300df45abf0c66a082efc8ba3e23c87c68b3f62a394b07103f6cc082dbc28b9
MD5 5ba068e852f9fe37a2548a43984847d0
BLAKE2b-256 990513ed4d99469f8b67a5206ce7b27f1b7487bd20f937c09199a26bcbf13175

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp312-cp312-macosx_10_13_x86_64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: smooth-1.0.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 507.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smooth-1.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8525aae490dae56e427c2c3779b865e0f0ea5ffcc5327227416247a34f53b065
MD5 9fa63487b824fcfd3f87aeee069ea7a6
BLAKE2b-256 bcdc2835d3376893bd121f0dd7d7cf958bcf09840e1409fd8fec9220fa114e6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp311-cp311-win_amd64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 75eafb19d2f4299b1b2cd97a00f50eff447084f0415cc51cea87136685d4a1c0
MD5 71635deb33df4c24cb89c803d158fb38
BLAKE2b-256 3ccde5362ab538b7ae29b4984456e53eda9be5232ace36152699a527b7773490

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 51768c16507c89f06d2c3d5290fae2268ef4d1cd569eb625e21fdb997a47497c
MD5 8b9e68300bb02ccdea137efb2289d1df
BLAKE2b-256 6463eac9947e7fbe72ee2722dba425ac70943d1e1af6aeb16945d5b4e87e1dec

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 71373044ba34d4a7546759c84783efd498aafd45923522a876f69ffbfc9b9389
MD5 954abebe9fdff08f783fa20139bbc30b
BLAKE2b-256 004221232cdcb11232ee74001ffb4c6c22b0da6b85a88bf48f37cb6f614169e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: smooth-1.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 504.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smooth-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 46ed7ec90b8f8e7da812d1a8b85ad0e968869357f59ab55d22bdad7b7eb4b0ad
MD5 634dd9a0f6a8e1075f7321d1c4550a64
BLAKE2b-256 7a5e3cca95ce7382ddfd645683834d0136747b7c8b5f50df33b124c7f8eb6358

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp310-cp310-win_amd64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 62728d1b7d043b4171e26ad054f795a81bd04df5a3884d5d9f893a4e0ac328fa
MD5 6215efe8390027f828e54d39a88513bb
BLAKE2b-256 ebd34f7778270e1e7e27f718a4a5bd2620a138aa730d407f4944b594c6ebd00a

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 216ec1782e89c97e030493a778a33f54f267307e3022238d6a0f833079ec56ca
MD5 c58208f856e4ba4eb6cf4f57d30198a9
BLAKE2b-256 b6d3dd9adbac66a7a75047a112cbfe7490e12ab667cc4fd5c71e583d437e9a1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smooth-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for smooth-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fc247da90ebe5ee2bc8fa5335e8b9a46564530e83ea56a347836b68fd169f172
MD5 b8e18087e02e0a1ad2865e6bf07a8c49
BLAKE2b-256 85a411712459fdee8cd57edce81dfb4b6d8d33e709a49985e329d486e673a96f

See more details on using hashes here.

Provenance

The following attestation bundles were made for smooth-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl:

Publisher: release.yml on config-i1/smooth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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