Skip to main content

ETNA is the first python open source framework of Tinkoff.ru AI Center. It is designed to make working with time series simple, productive, and fun.

Project description

ETNA Time Series Library

Pipi version PyPI Status Coverage

Telegram

Homepage | Documentation | Tutorials | Contribution Guide | Release Notes

ETNA is an easy-to-use time series forecasting framework. It includes built in toolkits for time series preprocessing, feature generation, a variety of predictive models with unified interface - from classic machine learning to SOTA neural networks, models combination methods and smart backtesting. ETNA is designed to make working with time series simple, productive, and fun.

ETNA is the first python open source framework of Tinkoff.ru Artificial Intelligence Center. The library started as an internal product in our company - we use it in over 10+ projects now, so we often release updates. Contributions are welcome - check our Contribution Guide.

Installation

ETNA is on PyPI, so you can use pip to install it.

pip install --upgrade pip
pip install etna-ts

Get started

Here's some example code for a quick start.

import pandas as pd
from etna.datasets.tsdataset import TSDataset
from etna.models import ProphetModel

# Read the data
df = pd.read_csv("examples/data/example_dataset.csv")

# Create a TSDataset
df = TSDataset.to_dataset(df)
ts = TSDataset(df, freq="D")

# Choose a horizon
HORIZON = 8

# Fit the model
model = ProphetModel()
model.fit(ts)

# Make the forecast
future_ts = ts.make_future(HORIZON)
forecast_ts = model.forecast(future_ts)

Tutorials

We have also prepared a set of tutorials for an easy introduction:

01. Get started

  • Creating TSDataset and time series plotting
  • Forecast single time series - Simple forecast, Prophet, Catboost
  • Forecast multiple time series

02. Backtest

  • What is backtest and how it works
  • How to run a validation
  • Validation visualisation

03. EDA

  • Visualization
    • Plot
    • Partial autocorrelation
    • Cross-correlation
    • Distribution
  • Outliers
    • Median method
    • Density method

Documentation

ETNA documentation is available here.

Acknowledgments

ETNA.Team

Alekseev Andrey, Shenshina Julia, Gabdushev Martin, Kolesnikov Sergey, Bunin Dmitriy, Chikov Aleksandr, Barinov Nikita, Romantsov Nikolay, Makhin Artem, Denisov Vladislav, Mitskovets Ivan, Munirova Albina

ETNA.Contributors

Levashov Artem, Podkidyshev Aleksey

License

Feel free to use our library in your commercial and private applications.

ETNA is covered by Apache 2.0. Read more about this license here

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

etna-ts-1.1.2.tar.gz (56.4 kB view details)

Uploaded Source

Built Distribution

etna_ts-1.1.2-py3-none-any.whl (74.1 kB view details)

Uploaded Python 3

File details

Details for the file etna-ts-1.1.2.tar.gz.

File metadata

  • Download URL: etna-ts-1.1.2.tar.gz
  • Upload date:
  • Size: 56.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.8.0-1042-azure

File hashes

Hashes for etna-ts-1.1.2.tar.gz
Algorithm Hash digest
SHA256 0e2fcc8d75bc239da27c18c67a8ca6f850c2c8f5babf7d13110a6bb0216c05c7
MD5 26553af72dfc97ea0126eb9eb4fc55b2
BLAKE2b-256 91dafa5572d718909d17ccfe05d45276d8ac5a5a3351d2ec0e885b233520001b

See more details on using hashes here.

File details

Details for the file etna_ts-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: etna_ts-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 74.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.8.0-1042-azure

File hashes

Hashes for etna_ts-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 199e3dab6459b9525b7ff4fb0dab9bb7395c6972f4768fb5857bceda90b4d3e1
MD5 397f65b9dd3776e869bbab77da59aef1
BLAKE2b-256 1c67092c8e238bd0128d8f3c76a294b4177f7bcfa6536e685c3b3f44f4de54a3

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