Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
26 of 473 committers (5.5%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.0%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
A unified framework for machine learning with time series
Basic Info
- Host: GitHub
- Owner: sktime
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Homepage: https://www.sktime.net
- Size: 81.1 MB
Statistics
- Stars: 9,234
- Watchers: 112
- Forks: 1,672
- Open Issues: 1,584
- Releases: 94
Topics
Metadata Files
README.md
Welcome to sktime
A unified interface for machine learning with time series
:rocket: Version 0.38.5 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. | | :womantechnologist: Examples | How to use sktime and its features. | | :scissors: Extension Templates | How to build your own estimator using sktime's API. | | :controlknobs: API Reference | The detailed reference for sktime's API. | | :tv: Video Tutorial | Our video tutorial from 2021 PyData Global. | | :hammerandwrench: 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 |
| :womantechnologist: Usage Questions | GitHub Discussions · Stack Overflow |
| :speechballoon: General Discussion | GitHub Discussions |
| :factory: Contribution & Development | dev-chat channel · Discord |
| :globewithmeridians: 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 | |
:hourglassflowingsand: 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.9, 3.10, 3.11, 3.12, and 3.13 (only 64-bit)
- Package managers: pip · conda
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:
forecastingtransformationsclassificationregressionclusteringparam_estnetworksdetectionalignment
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
``` python from sktime.datasets import loadairline from sktime.forecasting.base import ForecastingHorizon from sktime.forecasting.theta import ThetaForecaster from sktime.split import temporaltraintestsplit from sktime.performancemetrics.forecasting import meanabsolutepercentageerror
y = loadairline() ytrain, ytest = temporaltraintestsplit(y) fh = ForecastingHorizon(ytest.index, isrelative=False) forecaster = ThetaForecaster(sp=12) # monthly seasonal periodicity forecaster.fit(ytrain) ypred = forecaster.predict(fh) meanabsolutepercentageerror(ytest, y_pred)
0.08661467738190656 ```
Time Series Classification
```python from sktime.classification.intervalbased import TimeSeriesForestClassifier from sktime.datasets import loadarrowhead from sklearn.modelselection import traintestsplit from sklearn.metrics import accuracy_score
X, y = loadarrowhead() Xtrain, Xtest, ytrain, ytest = traintestsplit(X, y) classifier = TimeSeriesForestClassifier() classifier.fit(Xtrain, ytrain) ypred = classifier.predict(Xtest) accuracyscore(ytest, 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 | | | -------------------------- | -------------------------------------------------------------- | | :giftheart: Contribute | How to contribute to sktime. | | :schoolsatchel: Mentoring | New to open source? Apply to our mentoring program! | | :date: Meetings | Join our discussions, tutorials, workshops, and sprints! | | :womanmechanic: Developer Guides | How to further develop sktime's code base. | | :construction: Enhancement Proposals | Design a new feature for sktime. | | :medalsports: Contributors | A list of all contributors. | | :raisinghand: Roles | An overview of our core community roles. | | :moneywithwings: Donate | Fund sktime maintenance and development. | | :classicalbuilding: Governance | How and by whom decisions are made in sktime's community. |
:trophy: Hall of fame
Thanks to all our community for all your wonderful contributions, PRs, issues, ideas.
:bulb: Project vision
- By the community, for the community -- developed by a friendly and collaborative community.
- The right tool for the right task -- helping users to diagnose their learning problem and suitable scientific model types.
- Embedded in state-of-art ecosystems and provider of interoperable interfaces -- interoperable with scikit-learn, statsmodels, tsfresh, and other community favorites.
- Rich model composition and reduction functionality -- build tuning and feature extraction pipelines, solve forecasting tasks with scikit-learn regressors.
- Clean, descriptive specification syntax -- based on modern object-oriented design principles for data science.
- Fair model assessment and benchmarking -- build your models, inspect your models, check your models, and avoid pitfalls.
- Easily extensible -- easy extension templates to add your own algorithms compatible with sktime's API.
Owner
- Name: sktime
- Login: sktime
- Kind: organization
- Email: sktime.toolbox@gmail.com
- Website: https://www.sktime.net
- Repositories: 29
- Profile: https://github.com/sktime
A unified framework for machine learning with time series
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Franz Király | f****y@u****k | 1,940 |
| mloning | m****7@u****k | 734 |
| Tony Bagnall | a****b@u****k | 269 |
| Matthew Middlehurst | p****u@u****k | 185 |
| dependabot[bot] | 4****] | 144 |
| Anirban Ray | 3****a | 105 |
| Martin Walter | m****r@w****e | 93 |
| Sajaysurya Ganesh | s****a@g****m | 87 |
| George Oastler | g****4@g****m | 75 |
| Jason Lines | j****s@u****k | 62 |
| Benedikt Heidrich | b****d | 57 |
| Viktor Kazakov | v****v@o****m | 56 |
| Lukasz Mentel | l****l | 40 |
| Sagar Mishra | 5****e | 32 |
| chrisholder | c****7@h****m | 24 |
| danbartl | d****g@g****m | 23 |
| Armaghan | r****0@g****m | 22 |
| Leonidas Tsaprounis | 6****s | 21 |
| Stanislav Khrapov | s****v@d****m | 21 |
| RNKuhns | R****s@g****m | 20 |
| Ciaran Gilbert | 4****g | 19 |
| Mirae Parker | m****8@g****m | 18 |
| Felipe Angelim | f****m@p****r | 17 |
| Felix Hirwa Nshuti | h****x@g****m | 17 |
| Hazrul Akmal | h****1@g****m | 17 |
| Jigyasu Krishnan | j****u@o****n | 17 |
| Alex-JG3 | 4****3 | 15 |
| Taiwo Owoseni | t****u | 14 |
| Guzal Bulatova | 7****a | 14 |
| Pranav Prajapati | 9****6 | 13 |
| and 443 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 1,399
- Total pull requests: 4,158
- Average time to close issues: 5 months
- Average time to close pull requests: 21 days
- Total issue authors: 354
- Total pull request authors: 341
- Average comments per issue: 3.12
- Average comments per pull request: 2.26
- Merged pull requests: 2,795
- Bot issues: 1
- Bot pull requests: 324
Past Year
- Issues: 488
- Pull requests: 1,849
- Average time to close issues: 15 days
- Average time to close pull requests: 10 days
- Issue authors: 129
- Pull request authors: 201
- Average comments per issue: 1.25
- Average comments per pull request: 1.69
- Merged pull requests: 1,039
- Bot issues: 1
- Bot pull requests: 109
Top Authors
Issue Authors
- fkiraly (452)
- benHeid (97)
- yarnabrina (73)
- felipeangelimvieira (44)
- jgyasu (21)
- hazrulakmal (17)
- Alex-JG3 (17)
- gbilleyPeco (14)
- marrov (13)
- jobs-git (13)
- geetu040 (12)
- kdekker-private (11)
- achieveordie (11)
- julian-fong (10)
- ngupta23 (10)
Pull Request Authors
- fkiraly (1,847)
- dependabot[bot] (324)
- yarnabrina (148)
- benHeid (144)
- julian-fong (51)
- geetu040 (50)
- jgyasu (45)
- fnhirwa (39)
- ericjb (38)
- felipeangelimvieira (35)
- nahcol10 (32)
- Spinachboul (32)
- satvshr (28)
- Xinyu-Wu-0000 (27)
- Alex-JG3 (26)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 6
-
Total downloads:
- pypi 1,001,851 last-month
- Total docker downloads: 1,703
-
Total dependent packages: 66
(may contain duplicates) -
Total dependent repositories: 222
(may contain duplicates) - Total versions: 224
- Total maintainers: 2
pypi.org: sktime
A unified framework for machine learning with time series
- Homepage: https://www.sktime.net
- Documentation: https://www.sktime.net
- License: BSD 3-Clause License Copyright (c) 2019 - present, The sktime developers. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
Latest release: 0.38.5
published 6 months ago
Rankings
proxy.golang.org: github.com/sktime/sktime
- Documentation: https://pkg.go.dev/github.com/sktime/sktime#section-documentation
- License: bsd-3-clause
-
Latest release: v0.38.5
published 6 months ago
Rankings
conda-forge.org: sktime
- Homepage: https://github.com/sktime/sktime
- License: BSD-3-Clause
-
Latest release: 0.12.1
published over 3 years ago
Rankings
pypi.org: skytime
A unified framework for machine learning with time series
- Homepage: https://www.sktime.org
- Documentation: https://www.sktime.org
- License: BSD 3-Clause License Copyright (c) 2019 - 2020 The sktime developers. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
Latest release: 0.16.1
published about 3 years ago
Rankings
Maintainers (1)
pypi.org: sktime-backup
A unified framework for machine learning with time series
- Homepage: https://www.sktime.org
- Documentation: https://www.sktime.org
- License: BSD 3-Clause License Copyright (c) 2019 - 2020 The sktime developers. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
Latest release: 0.16.1
published about 3 years ago
Rankings
Maintainers (1)
conda-forge.org: sktime-all-extras
- Homepage: https://github.com/sktime/sktime
- License: BSD-3-Clause
-
Latest release: 0.12.1
published over 3 years ago
Rankings
Dependencies
- styfle/cancel-workflow-action 0.11.0 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- codecov/codecov-action v3 composite
- conda-incubator/setup-miniconda v2 composite
- pre-commit/action v3.0.0 composite
- trilom/file-changes-action v1.2.4 composite
- actions/checkout v4 composite
- actions/setup-node v3 composite
- stefanzweifel/git-auto-commit-action v4 composite
- actions/checkout v4 composite
- actions/download-artifact v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- conda-incubator/setup-miniconda v2 composite
- pypa/gh-action-pypi-publish release/v1 composite
- jupyter/scipy-notebook python-3.8.8 build
- numpy >=1.21.0,<1.26
- packaging *
- pandas >=1.1.0,<2.2.0
- scikit-base <0.6.0
- scikit-learn >=0.24.0,<1.4.0
- scipy <2.0.0,>=1.2.0
- actions/checkout v4 composite
- actions/setup-python v4 composite
- codecov/codecov-action v3 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- codecov/codecov-action v3 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- ./.github/actions/test-base * composite
- ./.github/actions/test-component * composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- codecov/codecov-action v3 composite
- ./.github/actions/test-base * composite
- actions/checkout v4 composite
- dorny/paths-filter v2 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- dorny/paths-filter v2 composite
- tj-actions/changed-files v40 composite
- ./.github/actions/test-component * composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- codecov/codecov-action v3 composite
- dorny/paths-filter v2 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- ./.github/actions/validate-extra * composite
- actions/checkout v4 composite