Skip to content
Back to skills

Classification Regression

ASecurity

"Train, evaluate, serialize, and apply pyAudioAnalysis

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

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill classification-regression --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Classification Regression?

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

Security grade badge for Classification Regression
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-classification-regression/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-classification-regression)

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: classification-regression
description: "Train, evaluate, serialize, and apply pyAudioAnalysis
  sklearn-backed audio classifiers and regressors."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# classification-regression

Use this sub-skill when the task is to train, evaluate, serialize, load, or apply pyAudioAnalysis audio classifiers or regression models backed by scikit-learn-style estimators and the package's in-module kNN wrapper.

## Read first

- `references/api-reference.md` for exact Python API signatures, supported model identifiers, return values, and side effects.
- `references/workflows.md` for end-to-end classifier and regression workflows that keep model outputs isolated.
- `references/model-artifacts.md` before moving, reusing, or deleting trained model files.
- `references/troubleshooting.md` when training produces no model, inference returns `-1`, SMOTE fails, model types disagree, or serialized models behave differently across environments.
- `scripts/classification_smoke.py --help` for a bounded synthetic classifier smoke test.

## Owns

- Folder-organized supervised audio classification: one class per input folder.
- Classifier training through `audioTrainTest.extract_features_and_train(...)`.
- File and folder classification through `audioTrainTest.file_classification(...)` or a small loop around it.
- Held-out folder evaluation through `audioTrainTest.evaluate_model_for_folders(...)`.
- Audio regression training through `audioTrainTest.feature_extraction_train_regression(...)` and inference through `audioTrainTest.file_regression(...)`.
- Model artifact naming, compatibility, and cleanup for these classifiers/regressors.

## Route elsewhere

- Raw short-term or mid-term feature matrix generation belongs to the `feature-extraction` sub-skill.
- Time segmentation, HMMs, diarization, and segment-level classification belong to the `segmentation-diarization` sub-skill.
- Full command-line syntax catalogs and legacy script execution details belong to the `cli-and-io` sub-skill.
- Visualization-only tasks belong outside this sub-skill except for the optional plots produced by classifier evaluation.

## Operating defaults

Prefer CPU-only package APIs:

```python
from pyAudioAnalysis import audioTrainTest as aT
```

Keep trained model prefixes under an explicit project output directory, use unique model names per experiment, set `plot=False` in headless evaluation, and treat pickle model files as trusted-environment artifacts only.

Files in this skill

  • SKILL.md2.5 KB
  • references/api-reference.md7.7 KB
  • references/model-artifacts.md4.6 KB
  • references/troubleshooting.md6.8 KB
  • references/workflows.md6.2 KB
  • scripts/classification_smoke.py12 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.