Skip to content
Back to skills

Numpy Ml

ASecurity

"Routes numpy-ml users to the right classical ML, preprocessing,

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

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill numpy-ml --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Numpy Ml?

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

Security grade badge for Numpy Ml
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-numpy-ml/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-numpy-ml)

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: numpy-ml
description: "Routes numpy-ml users to the right classical ML, preprocessing,
  neural-component, probabilistic, and RL workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# numpy-ml

`numpy-ml` is an educational machine-learning library implemented mostly in
NumPy and SciPy. Use this root skill to choose the right workflow, install a
compatible runtime, and confirm whether a task belongs to a focused sub-skill.

## Verified compatibility

This legacy snapshot was verified on Python 3.8 with:

```bash
python -m pip install "numpy<1.24" "scipy<1.11" numpy-ml
python -c "import numpy_ml; print('ok')"
```

Why this matters:

- Python 3.10+ fails on this commit because the package imports
  `collections.Hashable`.
- NumPy 1.24+ can break older code paths that use removed aliases such as
  `np.int` and `np.float`.
- Base runtime use does not require Gym, PyTorch, TensorFlow, or plotting
  libraries.

Read [`references/repo-provenance.md`](references/repo-provenance.md) when you
need to check whether this skill matches the current checkout or before running
`refresh-repo-skill`.

## Quick checks

Run the bundled environment check when you are unsure whether the current Python
can use the package:

```bash
python scripts/check_numpy_ml_environment.py
```

Run the cross-family smoke matrix when you want a fast confidence pass over the
bundled helpers:

```bash
python scripts/api_smoke_matrix.py
```

## Route map

| User intent | Read next |
| --- | --- |
| linear models, trees, KNN/GP regression, or matrix factorization | [`sub-skills/supervised-and-tabular-models/SKILL.md`](sub-skills/supervised-and-tabular-models/SKILL.md) |
| GMM, HMM, LDA, or n-gram language models | [`sub-skills/probabilistic-and-sequence-models/SKILL.md`](sub-skills/probabilistic-and-sequence-models/SKILL.md) |
| activations, layers, losses, optimizers, schedulers, or toy NN models | [`sub-skills/neural-network-components/SKILL.md`](sub-skills/neural-network-components/SKILL.md) |
| standardization, encoding, tokenization, DSP, kernels, distances, graphs, queues, or samplers | [`sub-skills/preprocessing-and-utilities/SKILL.md`](sub-skills/preprocessing-and-utilities/SKILL.md) |
| bandits, policy comparison, EnvModel, or optional Gym-backed RL agents | [`sub-skills/bandits-and-reinforcement-learning/SKILL.md`](sub-skills/bandits-and-reinforcement-learning/SKILL.md) |

## What to avoid

- Do not treat the repository's original comparison tests as runtime
  dependencies; they are optional diagnostics.
- Do not assume a fit method returns the model object. Many `numpy-ml` classes
  mutate in place and return `None`.
- Do not promise GPU support or modern autograd behavior; this library is a
  NumPy/SciPy reference implementation.

## Helper references

- [`references/api-overview.md`](references/api-overview.md) for the module map.
- [`references/compatibility.md`](references/compatibility.md) for version and
  dependency constraints.
- [`references/troubleshooting.md`](references/troubleshooting.md) for shared
  import and legacy-compatibility failures.

## Best-fit rule

Choose the smallest sub-skill that owns the user-facing workflow. If the task
starts with raw text, labels, signals, or feature dictionaries, route through
preprocessing first. If the task needs a bandit or RL loop, use the RL sub-skill
instead of the supervised one. If the task needs tensor-based deep learning or a
modern framework, this package is probably the wrong tool.

Files in this skill

  • SKILL.md3.4 KB
  • references/api-overview.md1.6 KB
  • references/compatibility.md1.5 KB
  • references/repo-provenance.md2 KB
  • references/repo-routing-metadata.json513 B
  • references/troubleshooting.md1.6 KB
  • scripts/api_smoke_matrix.py1.9 KB
  • scripts/check_numpy_ml_environment.py2.8 KB
  • sub-skills/bandits-and-reinforcement-learning/SKILL.md2.2 KB
  • sub-skills/bandits-and-reinforcement-learning/references/api-reference.md1.7 KB
  • sub-skills/bandits-and-reinforcement-learning/references/troubleshooting.md1.5 KB
  • sub-skills/bandits-and-reinforcement-learning/references/workflows.md1.7 KB
  • sub-skills/bandits-and-reinforcement-learning/scripts/bandit_rl_smoke.py1.5 KB
  • sub-skills/neural-network-components/SKILL.md2.2 KB
  • sub-skills/neural-network-components/references/api-reference.md2.4 KB
  • sub-skills/neural-network-components/references/troubleshooting.md1.6 KB
  • sub-skills/neural-network-components/references/workflows.md1.6 KB
  • sub-skills/neural-network-components/scripts/neural_component_smoke.py1.7 KB
  • sub-skills/preprocessing-and-utilities/SKILL.md2.2 KB
  • sub-skills/preprocessing-and-utilities/references/api-reference.md2.3 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.