Skip to content
Back to skills

Classical Algorithms

ASecurity

"Explains ML Glossary classical algorithm families including

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythongoapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill classical-algorithms --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Classical Algorithms?

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

Security grade badge for Classical Algorithms
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-classical-algorithms/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-classical-algorithms)

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: classical-algorithms
description: "Explains ML Glossary classical algorithm families including
  decision trees, KNN, random forests, boosting, SVM, regression variants,
  clustering placeholders, and reinforcement-learning basics."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Classical Algorithms

Use this sub-skill for ML Glossary tasks about non-neural model families and algorithm comparisons. It covers decision trees, K-nearest neighbors, random forests, boosting, SVMs, ordinary/polynomial/lasso/ridge/stepwise regression, clustering placeholder status, and introductory reinforcement-learning vocabulary.

## Read when

- The user asks to compare classical ML classifiers or regressors.
- The task mentions ID3, C4.5, CART, information gain, gain ratio, Gini, KNN, Euclidean distance, random forests, bagging, boosting, AdaBoost-style error focus, SVM margins, kernel trick, OLS, polynomial regression, lasso, ridge, stepwise/spline regression, clustering categories, or Q-learning.
- A documentation task needs a beginner-friendly algorithm entry or caveat about placeholder sections.
- The user asks whether a classical algorithm has an illustrative source snippet in the ML Glossary lineage.

## Main references

- `references/topic-map.md` contains the self-contained classical algorithm map and comparison tables.
- `references/troubleshooting.md` covers algorithm-selection mistakes, placeholder pages, and legacy code caveats.
- `scripts/knn_demo.py` is a safe pure-Python KNN demo adapted from the original source idea.

## Fast routing

| Task | Use |
| --- | --- |
| Compare ID3/C4.5/CART | `topic-map.md` decision-tree section. |
| Explain KNN in classification and regression | `topic-map.md` plus `scripts/knn_demo.py`. |
| Compare random forests, bagging, and boosting | `topic-map.md` ensemble section. |
| Explain SVM hyperplanes, support vectors, margins, and kernel trick | `topic-map.md` SVM section. |
| Explain regression variants such as OLS, lasso, ridge, polynomial | `topic-map.md` regression section, then cross-link to basics for formulas. |
| Explain Q-learning or RL vocabulary at a glossary level | `topic-map.md` reinforcement-learning section. |
| Fill in clustering or applications placeholders | `troubleshooting.md` placeholder guidance and root `../../references/resources-catalog.md`. |

## Workflow for answers

1. Identify the prediction type: classification, regression, clustering/unsupervised, or reinforcement learning.
2. Give the intuition first: nearest neighbors, tree splits, ensemble voting/averaging, margins, or reward-maximizing policy.
3. Explain required data assumptions: labeled data for supervised classifiers/regressors, distance metric and `k` for KNN, split criteria for trees, weak learners for boosting, kernel/feature space for SVM.
4. If code is requested, use the bundled `knn_demo.py` for KNN. For trees/random forests, describe the algorithm and cite legacy caveats rather than presenting source code as production-ready.
5. Route math-heavy logistic regression, gradient descent, and evaluation metrics back to `../basics-and-math/SKILL.md`.
6. Route neural-network classifier comparisons to `../neural-networks/SKILL.md` after covering the classical side.

## Boundaries

This sub-skill owns:

- Classical supervised algorithm explanations and comparisons.
- The repo's non-neural algorithm-page status, including placeholders.
- Introductory RL glossary content from the repository.
- Safe KNN demonstration.

Route elsewhere:

- Logistic-regression derivations, sigmoid/log loss, MSE, gradient descent formulas → `../basics-and-math/SKILL.md`.
- Neural-network architectures or deep classifiers → `../neural-networks/SKILL.md`.
- Library/dataset/paper recommendations for algorithm practice → `../../references/resources-catalog.md`.
- Sphinx authoring and build maintenance → `../../references/site-maintenance.md`.

## Quality checks

- Do not overstate placeholder sections: clustering pages and several RL subsections were incomplete.
- Do not claim legacy tree/random-forest source files are polished APIs; they were evidence for explanations.
- When comparing algorithms, tie the choice to data shape, interpretability, feature scaling, noise/outliers, nonlinearity, and computational cost.
- If the user needs modern scikit-learn commands, label them as modern external guidance rather than repo-grounded API facts.

Files in this skill

  • SKILL.md4.4 KB
  • references/topic-map.md8.6 KB
  • references/troubleshooting.md3.5 KB
  • scripts/knn_demo.py2.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.