Skip to main content

travis appveyor pypi gitter binder

sktime

A scikit-learn compatible Python toolbox for learning with time series. sktime currently supports:

  • State-of-the-art time series classification and regression algorithms,

  • Classical forecasting including reduction strategies to regression,

  • Benchmarking and post-hoc evaluation methods based on mlaut.

For deep learning methods, we have a separate extension package: sktime-dl.

sktime is under active development and we are looking for contributors. You can find our development roadmap below.

Installation

The package is available via PyPI using:

pip install sktime

But note that the package is actively being developed and currently not feature stable.

Development version

To install the development version, please see our advanced installation instructions.

Documentation

  • Tutorials can be found in the examples folder or can be launched directly on Binder.

  • The full API documentation can be found here.

Overview

sktime extends the standard scikit-learn API to handle modular workflows for time series and panel data. The goal is to create a unified interface for various distinct but closely related learning tasks that arise in a temporal data context, such as time series classification or forecasting. To find our more, take a look at our paper.

Currently, the package implements:

  • Various state-of-the-art algorithms for time series classification and regression,

  • Transformers, including series-to-series transforms (e.g. Fourier transform), series-to-primitives transforms a.k.a. feature extractors (e.g. mean, variance), sub-divided into fittables (on table) and row-wise applicates,

  • Pipelining, allowing to chain multiple transformers with a final estimator,

  • Meta-estimators such as reduction strategies, grid-search tuners and ensembles, including ensembles for multivariate time series classification,

  • Composite strategies, such as a fully customisable random forest for time-series classification, with interval segmentation and feature extraction,

  • Classical forecasting algorithms and reduction strategies to solve forecasting tasks with time series regression algorithms.

In addition, sktime includes a high-level API that unifies multiple learning tasks, partially inspired by the APIs of mlr and openML. In particular, we introduce:

  • Task objects that encapsulate meta-data from a dataset and the necessary information about the particular learning task, e.g. the instructions on how to derive the target/labels for classification from the data,

  • Strategy objects that wrap estimators and allow to call fit and predict methods using data and a task object.

Development road map

  1. Development of a time series annotation framework, including segmentation and outlier detection,

  2. Integration of supervised/panel forecasting based on a modified pysf API,

  3. Unsupervised methods including time series clustering,

  4. Design and implementation of a specialised data container for efficient handling of time series/panel data in a modelling workflow and separation of time series meta-data,

  5. Development of a probabilistic modelling framework for time series, including survival and point process models based on an adapted skpro interface.

Contributions

We are actively looking for contributors. Please contact @fkiraly or @jasonlines for volunteering or information on paid opportunities, or simply chat with us or raise an issue.

Please also take a look at our Code of Conduct and contributing guidelines.

Former and current contributors to the API design and project management include:

  • API design: Anthony Bagnall, Sajaysurya Ganesh, Viktor Kazakov, Franz Király, Jason Lines, Markus Löning

  • Project management: Anthony Bagnall, Franz Király, Jason Lines, Markus Löning

How to cite sktime

If you use sktime in a scientific publication, we would appreciate citations to the following paper:

Bibtex entry:

@misc{sktime,
      author = {Markus Löning and Anthony Bagnall and Sajaysurya Ganesh and Viktor Kazakov
      and Jason Lines and Franz J. Király},
      title = {sktime: A Unified Interface for Machine Learning with Time Series},
      year = {2019},
      eprint = {arXiv:1909.07872},
}

Release files for sktime-legacy 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for sktime-legacy 0.3.1
File
sktime_legacy-0.3.1-cp37-cp37m-manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
sktime_legacy-0.3.1-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
sktime_legacy-0.3.1-cp36-cp36m-manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details
sktime_legacy-0.3.1-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details

Total release size: 10.7 MB

Release files / sktime_legacy-0.3.1-cp37-cp37m-manylinux2010_x86_64.whl

Download URL sktime_legacy-0.3.1-cp37-cp37m-manylinux2010_x86_64.whl
Size 2.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
09006838b212e39c8254924dc55818fe4a4ab02f778dda006b6bbdb198a4ffc5
BLAKE2b-256 checksum
How to use checksums
7be7ab114c294ac71736b2b10ed1edc87aea8c9c51e55561a58f6a7c9c84ba0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

Release files / sktime_legacy-0.3.1-cp37-cp37m-manylinux1_x86_64.whl

Download URL sktime_legacy-0.3.1-cp37-cp37m-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a8bcb934de541aff59ae5a4ee947a1578bd3f6f804b2071486abaee3d66141e4
BLAKE2b-256 checksum
How to use checksums
2c1e46b555c206c7e86ea42e80eb7dfe8d3f597f04cd4f300b9fa4e1dc62156b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

Release files / sktime_legacy-0.3.1-cp36-cp36m-manylinux2010_x86_64.whl

Download URL sktime_legacy-0.3.1-cp36-cp36m-manylinux2010_x86_64.whl
Size 2.7 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
03d3f98cb00ee464375d899f8b80a5ef5828b1a881dd5ea3c12dda7c9f90e01e
BLAKE2b-256 checksum
How to use checksums
a396c3e7666f0ef49f1ce5bccb45236d64fa137c0127eccc1e9f15e4adce184a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

Release files / sktime_legacy-0.3.1-cp36-cp36m-manylinux1_x86_64.whl

Download URL sktime_legacy-0.3.1-cp36-cp36m-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
ed6fff0c496cf3f0446ca93e7f9a9f164150d7c512ecea64ce0d5b797fb9c2a5
BLAKE2b-256 checksum
How to use checksums
8572a77dd6bad292f4a495679ab4a6a3a14af746cbdb6962aec4cfb94fc46a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

Release history Release notifications | RSS feed

This release

0.3.1 This release

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page