Skip to content
Back to skills

Supervised Models

ASecurity

"Supervised time-series workflows for k-NN, GAK SVM/SVR, early

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
dataapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill supervised-models --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Supervised Models?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Supervised Models
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-supervised-models-18f6acab/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-supervised-models-18f6acab)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: supervised-models
description: "Supervised time-series workflows for k-NN, GAK SVM/SVR, early
  classification, shapelets, and time-series MLPs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 2-Clause
---

# Supervised Models

Use this sub-skill for tslearn supervised workflows built on `tslearn.neighbors`, `tslearn.svm`, `tslearn.early_classification`, `tslearn.shapelets`, and `tslearn.neural_network`.
It covers k-NN search/classification/regression, GAK SVM/SVR, early classification, shapelets, and time-series MLPs.

## Start here

- [API reference](references/api-reference.md)
- [Workflows](references/workflows.md)
- [Optional dependencies and backend setup](references/optional-deps.md)
- [Troubleshooting](references/troubleshooting.md)
- [Smoke helper](scripts/supervised_smoke.py)
- [Root tslearn router](../../SKILL.md) for clustering, forecasting, serialization, matrix profile, or anything outside supervised time-series modeling

## Route map

| User task | Read |
| --- | --- |
| Nearest-neighbor search, classification, or regression; variable-length k-NN workflows | [API reference](references/api-reference.md), [Workflows](references/workflows.md), [Smoke helper](scripts/supervised_smoke.py) |
| Time-series SVM/SVR with GAK, sklearn `Pipeline`/`GridSearchCV`, or probability caveats | [API reference](references/api-reference.md), [Workflows](references/workflows.md) |
| Early classification, streaming prediction, or earliness-vs-accuracy tuning | [API reference](references/api-reference.md), [Workflows](references/workflows.md) |
| Shapelets and backend/import-order setup | [Optional dependencies and backend setup](references/optional-deps.md), [Troubleshooting](references/troubleshooting.md), [Smoke helper](scripts/supervised_smoke.py) |
| TimeSeriesMLP classifier/regressor workflows | [API reference](references/api-reference.md), [Workflows](references/workflows.md) |

## Operating rules

1. Keep sklearn interoperability explicit. These estimators are designed to fit into standard `fit`/`predict`, `Pipeline`, `GridSearchCV`, and `cross_validate` flows.
2. Use variable-length-aware supervised paths first: k-NN with time-series metrics, `TimeSeriesSVC`/`TimeSeriesSVR` with `kernel="gak"`, or `LearningShapelets` when the shapelet-length and `max_size` constraints are satisfied.
3. `TimeSeriesMLPClassifier` and `TimeSeriesMLPRegressor` require equal-sized time series and flatten the input before handing it to scikit-learn's MLP implementation.
4. For `LearningShapelets`, set `KERAS_BACKEND` before the first `keras` import. If `keras` was imported too early, restart the process and re-run the import from a clean environment.
5. Do not use this sub-skill for clustering, forecasting, serialization, or matrix-profile tasks. Send those back to the root router instead.
6. Treat the bundled smoke helper as a tiny fit/predict check, not a benchmark and not a substitute for full example notebooks.

Files in this skill

  • SKILL.md2.9 KB
  • references/api-reference.md5.9 KB
  • references/optional-deps.md2.4 KB
  • references/troubleshooting.md4.1 KB
  • references/workflows.md4.2 KB
  • scripts/supervised_smoke.py5.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.