
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
sktime
Advanced tools
A unified interface for machine learning with time series
:rocket: Version 0.40.1 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 |
| 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. |
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 |
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 |
For troubleshooting and detailed installation instructions, see the documentation.
conda-forge)Using pip, sktime releases are available as source packages and binary wheels. Available wheels are listed here.
pip install sktime
or, with maximum dependencies,
pip install sktime[all_extras]
For curated sets of soft dependencies for specific learning tasks:
pip install sktime[forecasting] # for selected forecasting dependencies
pip install sktime[forecasting,transformations] # forecasters and transformers
or similar. Valid sets are:
forecastingtransformationsclassificationregressionclusteringparam_estnetworksdetectionalignmentCave: in general, not all soft dependencies for a learning task are installed, only a curated selection.
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.
conda install -c conda-forge sktime
or, with maximum dependencies,
conda install -c conda-forge sktime-all-extras
(as conda does not support dependency sets,
flexible choice of soft dependencies is unavailable via conda)
from sktime.datasets import load_airline
from sktime.forecasting.base import ForecastingHorizon
from sktime.forecasting.theta import ThetaForecaster
from sktime.split import temporal_train_test_split
from sktime.performance_metrics.forecasting import mean_absolute_percentage_error
y = load_airline()
y_train, y_test = temporal_train_test_split(y)
fh = ForecastingHorizon(y_test.index, is_relative=False)
forecaster = ThetaForecaster(sp=12) # monthly seasonal periodicity
forecaster.fit(y_train)
y_pred = forecaster.predict(fh)
mean_absolute_percentage_error(y_test, y_pred)
>>> 0.08661467738190656
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
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. |
| :construction: Enhancement Proposals | Design a new feature for sktime. |
| :medal_sports: Contributors | A list of all contributors. |
| :raising_hand: Roles | An overview of our core community roles. |
| :money_with_wings: Donate | Fund sktime maintenance and development. |
| :classical_building: Governance | How and by whom decisions are made in sktime's community. |
Thanks to all our community for all your wonderful contributions, PRs, issues, ideas.
FAQs
A unified framework for machine learning with time series
We found that sktime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.