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.1.tar.gz (53.8 kB view details)

Uploaded Source

Built Distribution

etna_ts-1.1.1-py3-none-any.whl (70.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: etna-ts-1.1.1.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.9.7 Linux/5.8.0-1041-azure

File hashes

Hashes for etna-ts-1.1.1.tar.gz
Algorithm Hash digest
SHA256 959c33871a7d2cf4bcac9199fc20ccdc7addd31dacb6ada5c28a3d9d1d377feb
MD5 b854e9fdae3310f8a328585dd2f601ac
BLAKE2b-256 0efb3881486c80142d84ef258b5f26a29827b662bc490ba4c7e644c32954a707

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for etna_ts-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58e1d4a8d1abc2eb17433d4045ab74faf2c8d15b5bf8897e09b3c1f4c13b675f
MD5 992bd3734581e0bac51bc57c581dfc61
BLAKE2b-256 fc16fa5f2f9e81b442bc3d4c7ee051116c95669c8196a7e374149dc9dd66b7bb

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