Skip to main content

Easy-to-use box ML solution for forcasting consumption

Reason this release was yanked:

found bug in yearly seasonality - fixed

Project description

Icon

What is this Library about?

Easy-to-use (4 lines of code, actually) framework for training powerful predictive models!

Description

We made a mother-model, which consists of multiple layers of predictive models: ewma is used as trend, Prophet is used for getting seasonality, CatBoost is used for predicting residuals. Why did we do that? Because we needed a out-of-the-box solution, which could be used by non-ML users.

How-to-install?

You can install this framework via pypi:

pip install TeremokTSLib

How-to-use?

You can watch an example in TeremokTSLib/tests foulder. All you need is dataframe with 2 columns: date, consumption. Then you can initiate mother-model and train it with just 2 rows of code:

import TeremokTSLib as tts
model = tts.Model()
model.train(data=data)

Maintained by

Library is developed and being maintained by Teremok ML team

Contacts

Change Log

0.1.0 (27.07.2024)

  • First release

1.1.0 (28.07.2024)

  • Beta verison release
  • Visualisation of itertest added

1.1.1 (06.08.2024)

  • Fixed some bugs

1.1.2 (09.08.2024)

  • Added parallel training for Prophet

1.1.3 (16.08.2024)

  • Now predict_order method returns dict with predicted orders and cons
  • Added visualisation of optuna trials

1.1.4 (17.08.2024)

  • Optimized Prophet inference. 54% reduction of inference time.

1.1.5 (21.08.2024)

  • Fixed bug with Optuna beta optimisation.

1.1.6 (21.08.2024)

  • Fixed bug with ewma shift.

1.1.7 (22.08.2024)

  • Added regularisation for orders in time of surges in consumption.

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

TeremokTSLib-1.1.7.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

TeremokTSLib-1.1.7-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file TeremokTSLib-1.1.7.tar.gz.

File metadata

  • Download URL: TeremokTSLib-1.1.7.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for TeremokTSLib-1.1.7.tar.gz
Algorithm Hash digest
SHA256 2c3f3f2d595c0c949c69570908b761f914cbc8bdcb0724d0b6d1be32f5229f61
MD5 70ed24fe74b10abf23537bbb771a1374
BLAKE2b-256 144bb519e973d4be9f3f63e395e695ff2dd99440346f8bbe387fe9a04506cc9e

See more details on using hashes here.

File details

Details for the file TeremokTSLib-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: TeremokTSLib-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for TeremokTSLib-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2cebddece31c934c59d8b273d676dec7a360117894d0e0b19938fdb040d6acda
MD5 5c1600a9c3d9c80b79712b76a9cf0b2a
BLAKE2b-256 e403dffd3f46b6f38a5cf824d94ab5c91c3db4ca7079f2a608d3b2ea3c75a029

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page