Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sktime

> DevOps
Open source

A unified framework for machine learning with time series

9.9K stars0 likes1 views
WebsiteGitHub

About

A unified framework for machine learning with time series

Welcome to sktime

A unified interface for machine learning with time series

:rocket: Version 1.1.0 out now! Check out the release notes here.

sktime is a library for time series analysis in Python. It provides a unified interface for multiple time series learning tasks. Currently, this includes forecasting, time series classification, clustering, anomaly/changepoint detection, and other tasks. It comes with time series algorithms and scikit-learn compatible tools to build, tune, and validate time series models.

Documentation · Tutorials · Release Notes
Open Source
Tutorials
Community
CI/CD
Code
Downloads )
Citation

:books: Documentation

Documentation
:star: Tutorials New to sktime? Here's everything you need to know!
:clipboard: Binder Notebooks Example notebooks to play with in your browser.
:woman_technologist: Examples How to use sktime and its features.
:scissors: [Extension Templates] How to build your own estimator using sktime's API.
:control_knobs: API Reference The detailed reference for sktime's API.
:tv: Video Tutorial Our video tutorial from 2021 PyData Global.
:hammer_and_wrench: Changelog Changes and version history.
:deciduous_tree: Roadmap sktime's software and community development plan.
:pencil: Related Software A list of related software.

:speech_balloon: Where to ask questions

Questions and feedback are extremely welcome! We strongly believe in the value of sharing help publicly, as it allows a wider audience to benefit from it.

Type Platforms
:bug: Bug Reports GitHub Issue Tracker
:sparkles: Feature Requests & Ideas GitHub Issue Tracker
:woman_technologist: Usage Questions GitHub Discussions · Stack Overflow
:speech_balloon: General Discussion GitHub Discussions
:factory: Contribution & Development dev-chat channel · Discord
:globe_with_meridians: Meet-ups and collaboration sessions Discord - Fridays 13 UTC, dev/meet-ups channel

:dizzy: Features

Our objective is to enhance the interoperability and usability of the time series analysis ecosystem in its entirety. sktime provides a unified interface for distinct but related time series learning tasks. It features dedicated time series algorithms and tools for composite model building, such as pipelining, ensembling, tuning, and reduction, empowering users to apply algorithms designed for one task to another.

sktime also provides interfaces to related libraries, for example scikit-learn, statsmodels, tsfresh, PyOD, and fbprophet, among others.

Module Status Links
Forecasting stable Tutorial · API Reference · Extension Template
Time Series Classification stable Tutorial · API Reference · Extension Template
Time Series Regression stable API Reference
Transformations stable Tutorial · API Reference · Extension Template
Detection tasks maturing Extension Template
Parameter fitting maturing API Reference · Extension Template
Time Series Clustering maturing API Reference · Extension Template
Time Series Distances/Kernels maturing Tutorial · API Reference · Extension Template
Time Series Alignment experimental API Reference · Extension Template
Time Series Splitters maturing Extension Template
Distributions and simulation experimental

:hourglass_flowing_sand: Install sktime

For troubleshooting and detailed installation instructions, see the documentation.

  • Operating system: macOS X · Linux · Windows 8.1 or higher
  • Python version: Python 3.10, 3.11, 3.12, 3.13, and 3.14 (only 64-bit)
  • Package managers: pip · conda (via conda-forge)

pip

Using pip, sktime releases are available as source packages and binary wheels. Available wheels are listed here.

bash
pip install sktime

or, with maximum dependencies,

bash
pip install sktime[all_extras]

For curated sets of soft dependencies for specific learning tasks:

bash
pip install sktime[forecasting]  # for selected forecasting dependencies
pip install sktime[forecasting,transformations]  # forecasters and transformers

or similar. Valid sets are:

  • forecasting
  • transformations
  • classification
  • regression
  • clustering
  • param_est
  • networks
  • detection
  • alignment

Cave: in general, not all soft dependencies for a learning task are installed, only a curated selection.

conda

You can also install sktime from conda via the conda-forge channel. The feedstock including the build recipe and configuration is maintained in this conda-forge repository.

bash
conda install -c conda-forge sktime

or, with maximum dependencies,

bash
conda install -c conda-forge sktime-all-extras

(as conda does not support dependency sets, flexible choice of soft dependencies is unavailable via conda)

:zap: Quickstart

Forecasting

…

Time Series Classification

python
from sktime.classification.interval_based import TimeSeriesForestClassifier
from sktime.datasets import load_arrow_head
from sklearn.model_selection import train_test_split
from sklearn.metrics import accuracy_score

X, y = load_arrow_head()
X_train, X_test, y_train, y_test = train_test_split(X, y)
classifier = TimeSeriesForestClassifier()
classifier.fit(X_train, y_train)
y_pred = classifier.predict(X_test)
accuracy_score(y_test, y_pred)
>>> 0.8679245283018868

:wave: How to get involved

There are many ways to join the sktime community. We follow the all-contributors specification: all kinds of contributions are welcome - not just code.

Documentation
:gift_heart: [Contribute] How to contribute to sktime.
:school_satchel: [Mentoring] New to open source? Apply to our mentoring program!
:date: [Meetings] Join our discussions, tutorials, workshops, and sprints!
:woman_mechanic: [Developer Guides] How to further develop sktime's code base.

Issues· 2543 open

View all issuesOpen on GitHub
  • #11293

    [BUG] ProximityForest: `n_dimensions` hardcoded to 1, so only the first dimension is ever used

    bugmodule:classificationUpdated Sep 29, 2026
  • #1904

    [DOC] link Windows/pycharm guide from installation instructions

    good first issuedocumentationUpdated Sep 29, 2026
  • #11329

    [BUG] Poor performance of global recursive reduction forecasters on panel data

    bugUpdated Sep 29, 2026
  • #10579

    [DOC] Warn when loading estimators saved with a different sktime version

    good first issuedocumentationUpdated Sep 29, 2026
  • #11290

    [ENH] use logging instead of print for verbose output in HIVE-COTE classifiers (and elsewhere)

    Updated Sep 29, 2026
  • #11244

    [DOC] Replace `range` and `list` `fh` by integer throughout

    good first issuedocumentationmodule:forecastingUpdated Sep 29, 2026
  • #10672

    [ENH] Regression tests validating foundation model outputs against original/source implementations

    good first issuemodule:testsenhancementUpdated Sep 29, 2026
  • #11324

    [BUG] `EmpiricalCoverage` and `ConstraintViolation` compare `y_true` against another variable's interval for multivariate data with 2+ coverages; non-alphabetical variable names misalign `PinballLoss` too

    Updated Sep 29, 2026
  • #11327

    [BUG] CosineTransformer declares a domain of invertibility that does not hold

    Updated Sep 28, 2026
  • #4796

    [BUG] make_reduction doesn't respect a transformer's `truncate="bfill"`.

    bugmodule:forecastingUpdated Sep 27, 2026

> Tags

Pythonaianomaly-detectionchangepoint-detectiondata-mining

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理