{"id":15284546,"url":"https://github.com/wildboar-foundation/wildboar","last_synced_at":"2025-08-01T13:04:33.715Z","repository":{"id":37916781,"uuid":"132126266","full_name":"wildboar-foundation/wildboar","owner":"wildboar-foundation","description":"wildboar is a Python module for temporal machine learning","archived":false,"fork":false,"pushed_at":"2025-03-28T16:58:35.000Z","size":433885,"stargazers_count":29,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-20T22:06:26.856Z","etag":null,"topics":["cython","distance-measures","dtw","dynamic-time-warping","euclidean-distances","machine-learning","numpy","python","scipy","timeseries"],"latest_commit_sha":null,"homepage":"https://wildboar.dev","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wildboar-foundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-05-04T10:32:05.000Z","updated_at":"2025-03-28T16:34:51.000Z","dependencies_parsed_at":"2024-02-19T16:43:56.701Z","dependency_job_id":"605ace69-3b01-44ed-97c7-ba1f535e8452","html_url":"https://github.com/wildboar-foundation/wildboar","commit_stats":{"total_commits":1179,"total_committers":4,"mean_commits":294.75,"dds":"0.11195928753180662","last_synced_commit":"db7580d3e44e22e7415126a6e1ce91e5c5cae82a"},"previous_names":["isaksamsten/wildboar","isakkarlsson/wildboar"],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/wildboar-foundation/wildboar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildboar-foundation%2Fwildboar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildboar-foundation%2Fwildboar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildboar-foundation%2Fwildboar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildboar-foundation%2Fwildboar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wildboar-foundation","download_url":"https://codeload.github.com/wildboar-foundation/wildboar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildboar-foundation%2Fwildboar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267320587,"owners_count":24068585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cython","distance-measures","dtw","dynamic-time-warping","euclidean-distances","machine-learning","numpy","python","scipy","timeseries"],"created_at":"2024-09-30T14:58:07.919Z","updated_at":"2025-08-01T13:04:33.672Z","avatar_url":"https://github.com/wildboar-foundation.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/wildboar-foundation/wildboar/blob/master/.github/github-logo.png?raw=true\" alt=\"Wildboar logo\" width=\"100px\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ewildboar\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10-blue\" /\u003e\n\t\u003cimg src=\"https://github.com/wildboar-foundation/wildboar/workflows/Build,%20test%20and%20upload%20to%20PyPI/badge.svg\"/\u003e\n\t\u003ca href=\"https://badge.fury.io/py/wildboar\"\u003e\u003cimg src=\"https://badge.fury.io/py/wildboar.svg\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://pepy.tech/project/wildboar\"\u003e\u003cimg src=\"https://static.pepy.tech/personalized-badge/wildboar?period=total\u0026units=international_system\u0026left_color=black\u0026right_color=orange\u0026left_text=downloads\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://doi.org/10.5281/zenodo.4264063\"\u003e\u003cimg src=\"https://zenodo.org/badge/DOI/10.5281/zenodo.4264063.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[wildboar](https://wildboar.dev/) is a Python module for temporal machine learning and fast\ndistance computations built on top of\n[scikit-learn](https://scikit-learn.org) and [numpy](https://numpy.org)\ndistributed under the BSD 3-Clause license.\n\nIt is currently maintained by Isak Samsten\n\n## Features\n\n| **Data**                                                        | **Classification**             | **Regression**                | **Explainability**             | **Metric** | **Unsupervised**             | **Dimension selection**       | **Outlier**               |\n| --------------------------------------------------------------- | ------------------------------ | ----------------------------- | ------------------------------ | ---------- | ---------------------------- | ----------------------------- | ------------------------- |\n| [Repositories](https://wildboar.dev/master/guide/datasets.html) | `ShapeletForestClassifier`     | `ShapeletForestRegressor`     | `ShapeletForestCounterfactual` | UCR-suite  | `ShapeletForestTransform`    | `DimensionVarianceThreshold`  | `IsolationShapeletForest` |\n| Classification (`wildboar/ucr`)                                 | `ExtraShapeletTreesClassifier` | `ExtraShapeletTreesRegressor` | `KNearestCounterfactual`       | MASS       | `RandomShapeletEmbedding`    | `SelectDimensionPercentile`   |                           |\n| Regression (`wildboar/tsereg`)                                  | `RocketTreeClassifier`         | `RocketRegressor`             | `PrototypeCounterfactual`      | DTW        | `RocketTransform`            | `SelectDimensionTopK`         |                           |\n| Outlier detection (`wildboar/outlier:easy`)                     | `RocketClassifier`             | `RandomShapeletRegressor`     | `IntervalImportance`           | DDTW       | `IntervalTransform`          | `SelectDimensionSignificance` |                           |\n|                                                                 | `RandomShapeletClassifier`     | `RocketTreeRegressor`         | `ShapeletImportance`           | WDTW       | `FeatureTransform`           |                               |                           |\n|                                                                 | `RocketForestClassifier`       | `RocketForestRegressor`       |                                | MSM        | `MatrixProfileTransform`     |                               |                           |\n|                                                                 | `IntervalTreeClassifier`       | `IntervalTreeRegressor`       |                                | TWE        | `FlossSegmenter`             |                               |                           |\n|                                                                 | `IntervalForestClassifier`     | `IntervalForestRegressor`     |                                | LCSS       | Motif discovery              |                               |                           |\n|                                                                 | `ProximityTreeClassifier`      | `CastorRegressor`             |                                | ERP        | `SAX`                        |                               |                           |\n|                                                                 | `ProximityForestClassifier`    |                               |                                | EDR        | `PAA`                        |                               |                           |\n|                                                                 | `HydraClassifier`              |                               |                                | ADTW       | `MatrixProfileTransform`     |                               |                           |\n|                                                                 | `KNeighborsClassifier`         |                               |                                |            | `HydraTransform`             |                               |                           |\n|                                                                 | `ElasticEnsembleClassifier`    |                               |                                |            | `KMeans` with (W)DTW support |                               |                           |\n|                                                                 | `DilatedShapeletClassifier`    |                               |                                |            | `KMedoids`                   |                               |                           |\n|                                                                 | `CastorClassifier`             |                               |                                |            | `DilatedShapeletTransform`   |                               |                           |\n|                                                                 |                                |                               |                                |            | `CastorTransform`            |                               |                           |\n|                                                                 |                                |                               |                                |            | `QuantTransform`             |                               |                           |\n\nSee the [documentation](https://wildboar.dev/master/) for examples.\n\n## Installation\n\n### Binaries\n\n`wildboar` is available through `pip` and can be installed with:\n\n    pip install wildboar\n\nUniversal binaries are compiled for Python 3.9, 3.10, 3.11 and 3.12 running on\nGNU/Linux, Windows and macOS.\n\n### Compilation\n\nIf you already have a working installation of numpy, scikit-learn, scipy and cython,\ncompiling and installing wildboar is as simple as:\n\n    pip install .\n\nTo install the requirements, use:\n\n    pip install -r requirements.txt\n\nFor complete instructions see the [documentation](https://wildboar.dev/master/install.html#build-and-compile-from-source)\n\n## Usage\n\n```python\nfrom wildboar.ensemble import ShapeletForestClassifier\nfrom wildboar.datasets import load_dataset\nx_train, x_test, y_train, y_test = load_dataset(\"GunPoint\", merge_train_test=False)\nc = ShapeletForestClassifier()\nc.fit(x_train, y_train)\nc.score(x_test, y_test)\n```\n\nThe [User guide](https://wildboar.dev/master/guide.html) includes more\ndetailed usage instructions.\n\n## Changelog\n\nThe [changelog](https://wildboar.dev/master/more/whatsnew.html) records a\nhistory of notable changes to `wildboar`.\n\n## Development\n\nContributions are welcome! The [developer's\nguide](https://wildboar.dev/master/more/contributing.html) has detailed\ninformation about contributing code and more!\n\nIn short, pull requests should:\n\n- be well motivated\n- be formatted using Black\n- add relevant tests\n- add relevant documentation\n\n## Source code\n\nYou can check the latest sources with the command:\n\n    git clone https://github.com/wildboar-foundation/wildboar\n\n## Documentation\n\n- HTML documentation: [https://wildboar.dev](https://wildboar.dev)\n\n## Citation\n\nIf you use `wildboar` in a scientific publication, I would appreciate\ncitations to the paper:\n\n- Karlsson, I., Papapetrou, P. Boström, H., 2016.\n  _Generalized Random Shapelet Forests_. In the Data Mining and\n  Knowledge Discovery Journal\n\n  - `ShapeletForestClassifier`\n\n- Isak Samsten, 2020. isaksamsten/wildboar: wildboar. Zenodo. doi:10.5281/zenodo.4264063\n- Karlsson, I., Rebane, J., Papapetrou, P. et al.\n  Locally and globally explainable time series tweaking.\n  Knowl Inf Syst 62, 1671–1700 (2020)\n\n  - `ShapeletForestCounterfactual`\n  - `KNearestCounterfactual`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwildboar-foundation%2Fwildboar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwildboar-foundation%2Fwildboar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwildboar-foundation%2Fwildboar/lists"}