Skip to main content

Wildboar logo

wildboar

wildboar is a Python module for temporal machine learning and fast distance computations built on top of scikit-learn and numpy distributed under the BSD 3-Clause license.

It is currently maintained by Isak Samsten

Features

Data Classification Regression Explainability Metric Unsupervised Dimension selection Outlier
Repositories ShapeletForestClassifier ShapeletForestRegressor ShapeletForestCounterfactual UCR-suite ShapeletForestTransform DimensionVarianceThreshold IsolationShapeletForest
Classification (wildboar/ucr) ExtraShapeletTreesClassifier ExtraShapeletTreesRegressor KNearestCounterfactual MASS RandomShapeletEmbedding SelectDimensionPercentile
Regression (wildboar/tsereg) RocketTreeClassifier RocketRegressor PrototypeCounterfactual DTW RocketTransform SelectDimensionTopK
Outlier detection (wildboar/outlier:easy) RocketClassifier RandomShapeletRegressor IntervalImportance DDTW IntervalTransform SelectDimensionSignificance
RandomShapeletClassifier RocketTreeRegressor ShapeletImportance WDTW FeatureTransform
RocketForestClassifier RocketForestRegressor MSM MatrixProfileTransform
IntervalTreeClassifier IntervalTreeRegressor TWE FlossSegmenter
IntervalForestClassifier IntervalForestRegressor LCSS Motif discovery
ProximityTreeClassifier CastorRegressor ERP SAX
ProximityForestClassifier EDR PAA
HydraClassifier ADTW MatrixProfileTransform
KNeighborsClassifier HydraTransform
ElasticEnsembleClassifier KMeans with (W)DTW support
DilatedShapeletClassifier KMedoids
CastorClassifier DilatedShapeletTransform
CastorTransform
QuantTransform

See the documentation for examples.

Installation

Binaries

wildboar is available through pip and can be installed with:

pip install wildboar

Universal binaries are compiled for Python 3.10, 3.11 and 3.12 running on GNU/Linux, Windows and macOS.

Compilation

If you already have a working installation of numpy, scikit-learn, scipy and cython, compiling and installing wildboar is as simple as:

pip install .

To install the requirements, use:

pip install -r requirements.txt

For complete instructions see the documentation

Usage

from wildboar.ensemble import ShapeletForestClassifier
from wildboar.datasets import load_dataset
x_train, x_test, y_train, y_test = load_dataset("GunPoint", merge_train_test=False)
c = ShapeletForestClassifier()
c.fit(x_train, y_train)
c.score(x_test, y_test)

The User guide includes more detailed usage instructions.

Changelog

The changelog records a history of notable changes to wildboar.

Development

Contributions are welcome! The developer's guide has detailed information about contributing code and more!

In short, pull requests should:

  • be well motivated
  • be formatted using Black
  • add relevant tests
  • add relevant documentation

Source code

You can check the latest sources with the command:

git clone https://github.com/wildboar-foundation/wildboar

Documentation

Citation

If you use wildboar in a scientific publication, I would appreciate citations to the paper:

  • Karlsson, I., Papapetrou, P. Boström, H., 2016. Generalized Random Shapelet Forests. In the Data Mining and Knowledge Discovery Journal

    • ShapeletForestClassifier
  • Isak Samsten, 2020. isaksamsten/wildboar: wildboar. Zenodo. doi:10.5281/zenodo.4264063

  • Karlsson, I., Rebane, J., Papapetrou, P. et al. Locally and globally explainable time series tweaking. Knowl Inf Syst 62, 1671–1700 (2020)

    • ShapeletForestCounterfactual
    • KNearestCounterfactual

Metadata

Release files for wildboar 1.3.0

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

Source distribution (sdist)

Source distribution for wildboar 1.3.0
File Size Uploaded Provenance Actions
wildboar-1.3.0.tar.gz 4.2 MB Without provenance Details for wildboar-1.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for wildboar 1.3.0
File Actions
wildboar-1.3.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for wildboar-1.3.0-cp314-cp314-win_amd64.whl
wildboar-1.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for wildboar-1.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
wildboar-1.3.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for wildboar-1.3.0-cp314-cp314-macosx_11_0_arm64.whl
wildboar-1.3.0-cp314-cp314-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.15+ x86-64 Details for wildboar-1.3.0-cp314-cp314-macosx_10_15_x86_64.whl
wildboar-1.3.0-cp314-cp314-macosx_10_15_universal2.whl CPython 3.14 CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64) Details for wildboar-1.3.0-cp314-cp314-macosx_10_15_universal2.whl
wildboar-1.3.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for wildboar-1.3.0-cp313-cp313-win_amd64.whl
wildboar-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for wildboar-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
wildboar-1.3.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for wildboar-1.3.0-cp313-cp313-macosx_11_0_arm64.whl
wildboar-1.3.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details for wildboar-1.3.0-cp313-cp313-macosx_10_13_x86_64.whl
wildboar-1.3.0-cp313-cp313-macosx_10_13_universal2.whl CPython 3.13 CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) Details for wildboar-1.3.0-cp313-cp313-macosx_10_13_universal2.whl
wildboar-1.3.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for wildboar-1.3.0-cp312-cp312-win_amd64.whl
wildboar-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for wildboar-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
wildboar-1.3.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for wildboar-1.3.0-cp312-cp312-macosx_11_0_arm64.whl
wildboar-1.3.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for wildboar-1.3.0-cp312-cp312-macosx_10_13_x86_64.whl
wildboar-1.3.0-cp312-cp312-macosx_10_13_universal2.whl CPython 3.12 CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) Details for wildboar-1.3.0-cp312-cp312-macosx_10_13_universal2.whl

Total release size: 114.9 MB

Release files / wildboar-1.3.0.tar.gz

Download URL wildboar-1.3.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
d0a4ef710aabf1e0591adbaf73c9412f93a1d961e1efcb7ce83cc4aeffb546b6
BLAKE2b-256 checksum
How to use checksums
7c7f44a8899eb10824958b93213b404a8e2ed36071c2eb9bed45c7af9e1f52a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp314-cp314-win_amd64.whl

Download URL wildboar-1.3.0-cp314-cp314-win_amd64.whl
Size 2.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
c83d6699aba857540993daa560fc0a7f977dd0c7d24f051f7700b4802c234916
BLAKE2b-256 checksum
How to use checksums
8b3bed06e530bcb165ca1088fbd22059a4bd847dc955699b2f9d7b82ddcf597e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL wildboar-1.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 14.6 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c3da0f0d9de5d9b1f2ae0ab8e066ef4d7b49801f962a596aae9e175e0f0e0dde
BLAKE2b-256 checksum
How to use checksums
5af3857f71f3d3ca9d6ce454f2ec6064d68ef589f1ec88ed74ae4f56b5801b40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL wildboar-1.3.0-cp314-cp314-macosx_11_0_arm64.whl
Size 6.1 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
35ea8c2f2dafa1dfd4ab116139dc2e5c8cf60dd647e20560580ab70ec1908a4c
BLAKE2b-256 checksum
How to use checksums
78bca58caa1100d722d35f62177e4a36a8ba8cce7fa880d8588a367968ab5a53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp314-cp314-macosx_10_15_x86_64.whl

Download URL wildboar-1.3.0-cp314-cp314-macosx_10_15_x86_64.whl
Size 6.1 MB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
575bae3c9e8c1714cddca4237c323812be7e59eb7b18026dc8853723c46361c9
BLAKE2b-256 checksum
How to use checksums
947f1ba274640088e66164c17aebaa98d30f5aa828c03b2eda506fa20a6e0416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp314-cp314-macosx_10_15_universal2.whl

Download URL wildboar-1.3.0-cp314-cp314-macosx_10_15_universal2.whl
Size 8.1 MB
Tags CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
6bdee00f00fb5fc1e16316d202a973da82f367775a0ce53ef3d652e7af444ab6
BLAKE2b-256 checksum
How to use checksums
4a7a5042f3a8e8e20c986d2d047777f0e1e119d02b4f98cce00861c1a214db62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp313-cp313-win_amd64.whl

Download URL wildboar-1.3.0-cp313-cp313-win_amd64.whl
Size 2.0 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
a98ac4832d7d99453ece309c1304852516a7a5c1fb64e7d59cd357681c799491
BLAKE2b-256 checksum
How to use checksums
06d017e33c7d020e0147d82bc51dbd667ecf608037addabc9222e72ebc09c508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL wildboar-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 14.6 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e6e1adc67a6dbf578333224468148732a9b36a53868389de7912ae8d65292d89
BLAKE2b-256 checksum
How to use checksums
255748719d6dded259d0c90d3dcfbc4e7f90b37992b108df415bf544176d5d7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL wildboar-1.3.0-cp313-cp313-macosx_11_0_arm64.whl
Size 6.1 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4888d8b7d833708682fe88f42109d2adda9a98059d4155d3aa65be3ccb2272c6
BLAKE2b-256 checksum
How to use checksums
9ad2fbea9120c23c39d167b98abcadbf69159fbce173cb2a2b7c6201b4626a5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp313-cp313-macosx_10_13_x86_64.whl

Download URL wildboar-1.3.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 6.1 MB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
7e3a1669c0c85765ab394f5b97ff92c2d5f9efc06622f704f5d9fce4541605bc
BLAKE2b-256 checksum
How to use checksums
ad9d19981b3137d629a8a7fa29d1ec02a43ae4a96ac728a8baceae732ddb13c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp313-cp313-macosx_10_13_universal2.whl

Download URL wildboar-1.3.0-cp313-cp313-macosx_10_13_universal2.whl
Size 8.0 MB
Tags CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
6aa1bda6f93a4154773ad656ad03401417282451748bd04b34faac0901290d32
BLAKE2b-256 checksum
How to use checksums
49e1bd240cfd8fec06b2b38c4d46f2d26b1d9df61978c53f0785736ab8a1510d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp312-cp312-win_amd64.whl

Download URL wildboar-1.3.0-cp312-cp312-win_amd64.whl
Size 2.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
76c1b1302e0306c0d982aefa457a463aa1efac63c8d53ec371ca77c875ee009f
BLAKE2b-256 checksum
How to use checksums
d3995e80bd71a97f84a08988609108440bfa491cf01c4a0814b7d6a9baa6ac3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL wildboar-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 14.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
70cee4487cece222c48da0b15f6706d2d7ea2d9b0aaeabacf4c646ea7f3cfeb9
BLAKE2b-256 checksum
How to use checksums
19f1927d5f518ff9153fa72532dc2742a73893b27791cf7d7c24e802c9516baa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL wildboar-1.3.0-cp312-cp312-macosx_11_0_arm64.whl
Size 6.1 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0b6a5995b07c5e41f6dbced33fe59d685ba9da53c9659781d0d16d23d8a57053
BLAKE2b-256 checksum
How to use checksums
376018623286d9403db7c390fbbb16c43e02db7f160f8f7daefd5cc2d7338c71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL wildboar-1.3.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 6.1 MB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
c1532767ca1d3de6eb331a60a45f00e3906de2fa176680c340a59390feca495a
BLAKE2b-256 checksum
How to use checksums
19bb64740fcbd8897c4428decf650f54a32d5a8361bd200288904c7aeee777cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wildboar-1.3.0-cp312-cp312-macosx_10_13_universal2.whl

Download URL wildboar-1.3.0-cp312-cp312-macosx_10_13_universal2.whl
Size 8.0 MB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
e1cc2d41d1437624797df935f8b705f190da164fe0b65bca2bad9cd604a5489a
BLAKE2b-256 checksum
How to use checksums
95509906454b0b7e8a755af31f3e9dce259b3d12ab8d3ecc907dcbda5146cac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for wildboar 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.0 This release

16 release files No provenance

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