Skip to main content

A Python package for Timeseries

Project description

Please read more about this algorithm in: https://doi.org/10.1016/j.cie.2024.110812.

At the moment, we are working diligently to improve and update SPINEX. Please share your thoughts and suggestions with us.

# Example of using this algorithm

import numpy as np

from spinex_timeseries import SPINEX_Timeseries

# Generate sample data

time = np.linspace(0, 10, 200)

data = np.cos(time) + np.random.normal(0, 0.03, 200)

# Initialize the model

model = SPINEX_Timeseries(data, forecast_horizon=20)

# Make predictions

predictions = model.predict()

print(“Predicted Values:”, predictions)

# Detect anomalies

anomalies, threshold = model.detect_anomalies()

print(“Anomalies Detected:”, anomalies)

# Plot predictions

model.plot_prediction()

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

spinex_timeseries-0.14.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

spinex_timeseries-0.14-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file spinex_timeseries-0.14.tar.gz.

File metadata

  • Download URL: spinex_timeseries-0.14.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for spinex_timeseries-0.14.tar.gz
Algorithm Hash digest
SHA256 e5cd5ca7238ee5fdf77913f6f4c32befc15b80bba7c89725be09d0e4cf2fcf0f
MD5 6977a70683a946339f91333969bd47c7
BLAKE2b-256 e9ace0bf40da4334439642a7af1d314ac013276b3cc8c3dbdba21bd9acd73ffc

See more details on using hashes here.

File details

Details for the file spinex_timeseries-0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for spinex_timeseries-0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 6e6f198601b4584f64023696e0d532fdc73e0e422607a4751f2c2c1e358ff839
MD5 985afa9fb93415b46f2188ab030687c7
BLAKE2b-256 93eb7970714d33d349b4351c9ee483c36f811cb12071accc8f9d23950ffdaaa3

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