Skip to content
Back to skills

Probabilistic And Sequence Models

ASecurity

"Routes numpy-ml probabilistic, topic-model, hidden-Markov, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
developmentpythongobashapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill probabilistic-and-sequence-models --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Probabilistic And Sequence Models?

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

Security grade badge for Probabilistic And Sequence Models
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-probabilistic-and-sequence-models/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-probabilistic-and-sequence-models)

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: probabilistic-and-sequence-models
description: "Routes numpy-ml probabilistic, topic-model, hidden-Markov, and
  n-gram tasks with corpus and probability-shape guidance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# Probabilistic and Sequence Models

Use this sub-skill for `numpy-ml` workflows around probability models, hidden
state models, topic models, and sequence language models:

- Gaussian mixture models;
- multinomial hidden Markov models;
- LDA and smoothed LDA;
- maximum-likelihood, additive, and Good-Turing n-gram language models.

## First Checks

1. Read [`references/api-reference.md`](references/api-reference.md) for exact
   constructor signatures and the methods that expect arrays versus corpus file
   paths.
2. Run the smoke script for tiny validation:

   ```bash
   python sub-skills/probabilistic-and-sequence-models/scripts/probabilistic_sequence_smoke.py
   ```

3. Read [`references/workflows.md`](references/workflows.md) for small
   end-to-end examples and when to combine this route with preprocessing.
4. Read [`references/troubleshooting.md`](references/troubleshooting.md) when
   probability matrices, stochasticity checks, or corpus/tokenization inputs
   are wrong.

## Route by Task

| User asks for | Use this route |
| --- | --- |
| Gaussian mixture clustering or density fitting | GMM workflow and tiny synthetic arrays. |
| HMM log likelihood or decoding | HMM workflow with integer observation sequences and valid matrices. |
| LDA topic modeling | LDA/SmoothedLDA workflow with document-term style inputs. |
| n-gram scoring or corpus language modeling | n-gram workflow with a text corpus file and tokenization choices. |
| tokenization, stop words, punctuation cleanup | Cross-link to `../preprocessing-and-utilities/SKILL.md` first. |

## Operating Notes

- `fit` and related training calls mutate the model in place in the usual
  `numpy-ml` style.
- HMM/GMM/LDA/n-gram examples in the repo are intentionally small; prefer
  bounded arrays or tiny text corpora when validating behavior.
- Do not require plot scripts or notebook-style demos for routine use.

Files in this skill

  • SKILL.md2.1 KB
  • references/api-reference.md1.8 KB
  • references/troubleshooting.md1.6 KB
  • references/workflows.md1.6 KB
  • scripts/probabilistic_sequence_smoke.py1.8 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.