Skip to main content

A Time Series Forecasting library which performs outlier cleaning with LOESS regression, extracts multiple cyclicities with fast fourier transform & performs time series forecast via ARIMA

Project description

pyarimafft library

A Python Library which efficiently combines LOESS cleaning, Fast Fourier Transform Extracted key Cyclicities and ARIMA to produce meaningful and explainable time series forecasts.

Installation

pip install pyarimafft

Usage

endog = np.array(vector)

model_obj = pyarimafft.model(forecast_horizon=12)

model_obj.outlier_clean(endog=endog,window_size=10,outlier_threshold=0.8,peak_clean=False,trough_clean=False,both_sides_clean=True)

model_obj.extract_key_seasonalities(power_quantile=0.90,time_period=d)

model_obj.reconstruct_seasonal_features(mode='seperate')

It is possible to add one exogenous vector at a time

model_obj.add_exog(exog1)

model_obj.add_exog(exog2)

Call the auto_arima function

model_obj.auto_arima(p=None,d=None,q=None,max_p=3,max_q=3,max_d=1,auto_fit=True)

Attributes which you can extract

model_obj.endog

model_obj.trend

model_obj.outlier_cleaned

model_obj.seasonal_component

model_obj.isolated_components

model_obj.isolated_seasonality

model_obj.forecast

model_obj.seasonal_feature_train

model_obj.seasonal_feature_future

model_obj.time_train

model_obj.time_future

model_obj.forecast_horizon

model_obj.forecast

model_obj.optimal_order

'''

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

pyarimafft-0.0.0.7.tar.gz (51.1 kB view details)

Uploaded Source

Built Distribution

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

pyarimafft-0.0.0.7-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file pyarimafft-0.0.0.7.tar.gz.

File metadata

  • Download URL: pyarimafft-0.0.0.7.tar.gz
  • Upload date:
  • Size: 51.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for pyarimafft-0.0.0.7.tar.gz
Algorithm Hash digest
SHA256 2555a81770fb58a75d37435a84828ee779166026e1f133e0a1f5fd74d66ecd86
MD5 9758b1926ae10a520daaa483736ccffb
BLAKE2b-256 fff586b6479ca3f6e8379ecd3bcbe76780b4000575487f7a6f01b8b2f60fdc41

See more details on using hashes here.

File details

Details for the file pyarimafft-0.0.0.7-py3-none-any.whl.

File metadata

  • Download URL: pyarimafft-0.0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for pyarimafft-0.0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0f01027ac50619c5b5baaaaf273bc76dd4be64e2010bf479d1a6d1eda41963dd
MD5 4714b0f954c55d3db8c10bf91cedb4b3
BLAKE2b-256 cee2e60818bd128cf5ee3711ac47eb4d611f4debef50b05e2a3584d4321eea5f

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