技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
classification-regression【数据与研究】Train, evaluate, serialize, and apply pyAudioAnalysis sklearn-backed audio classifiers and regressors.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
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.audioTrainTest.extract_features_and_train(...).audioTrainTest.file_classification(...) or a small loop around it.audioTrainTest.evaluate_model_for_folders(...).audioTrainTest.feature_extraction_train_regression(...) and inference through audioTrainTest.file_regression(...).feature-extraction sub-skill.segmentation-diarization sub-skill.cli-and-io sub-skill.Prefer CPU-only package APIs:
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.