building-classification-models
Build and evaluate classification models for supervised learning tasks with labeled data. Use when requesting "build a classifier", "create classification model", or "train classifier".
- License 许可
- MIT
- 最近更新
- 2025-12-18
- Stars
- ★ 29
- Forks
- 9
01 前言 Front Matter
- name
- building-classification-models
- license
- MIT
- description
- Build and evaluate classification models for supervised learning tasks with labeled data. Use when requesting "build a classifier", "create classification model", or "train classifier".
- allowed-tools
- Read, Write, Edit, Grep, Glob, Bash
02 资源文件 18
- 资产文件assets/model_config_template.json2.5 KB
- 资产文件assets/README.md412 B
- 参考文档reference/ACCESS-CONTROL-ADVANCED.md17.6 KB
- 参考文档reference/ACCESS-CONTROL.md17.9 KB
- 参考文档reference/ADAPTERS.md7.3 KB
- 参考文档reference/ADVANCED.md8.8 KB
- 参考文档reference/COLLECTIONS.md5.9 KB
- 参考文档reference/ENDPOINTS.md15.1 KB
- 参考文档reference/FIELD-TYPE-GUARDS.md10.6 KB
- 参考文档reference/FIELDS.md17.1 KB
- 参考文档reference/HOOKS.md4.2 KB
- 参考文档reference/PLUGIN-DEVELOPMENT.md34.5 KB
- 参考文档reference/QUERIES.md6.0 KB
- 参考文档references/README.md685 B
- 脚本scripts/data_validator.py2.9 KB
- 脚本scripts/model_builder.py3.0 KB
- 脚本scripts/README.md582 B
- 脚本scripts/report_generator.py2.9 KB
03 SKILL.md 正文
Overview
This skill empowers Claude to efficiently build and deploy classification models. It automates the process of model selection, training, and evaluation, providing users with a robust and reliable classification solution. The skill also provides insights into model performance and suggests potential improvements.
How It Works
- Context Analysis: Claude analyzes the user's request, identifying the dataset, target variable, and any specific requirements for the classification model.
- Model Generation: The skill utilizes the classification-model-builder plugin to generate code for training a classification model based on the identified dataset and requirements. This includes data preprocessing, feature selection, model selection, and hyperparameter tuning.
- Evaluation and Reporting: The generated model is trained and evaluated using appropriate metrics (e.g., accuracy, precision, recall, F1-score). Performance metrics and insights are then provided to the user.
When to Use This Skill
This skill activates when you need to:
- Build a classification model from a given dataset.
- Train a classifier to predict categorical outcomes.
- Evaluate the performance of a classification model.
Examples
Example 1: Building a Spam Classifier
User request: "Build a classifier to detect spam emails using this dataset."
The skill will:
- Analyze the provided email dataset to identify features and the target variable (spam/not spam).
- Generate Python code using the classification-model-builder plugin to train a spam classification model, including data cleaning, feature extraction, and model selection.
Example 2: Predicting Customer Churn
User request: "Create a classification model to predict customer churn using customer data."
The skill will:
- Analyze the customer data to identify relevant features and the churn status.
- Generate code to build a classification model for churn prediction, including data validation, model training, and performance reporting.
Best Practices
- Data Quality: Ensure the input data is clean and preprocessed before training the model.
- Model Selection: Choose the appropriate classification algorithm based on the characteristics of the data and the specific requirements of the task.
- Hyperparameter Tuning: Optimize the model's hyperparameters to achieve the best possible performance.
Integration
This skill integrates with the classification-model-builder plugin to automate the model building process. It can also be used in conjunction with other plugins for data analysis and visualization.
04 同仓库更多 Skills
testing-visual-regression
Detect visual changes in UI components using screenshot comparison. Use when detecting unintended UI changes or pixel differences. Trigger with phrases like "test visual changes", "compare screenshots", or "detect UI regressions".
generating-unit-tests
Automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions. Use when creating test coverage for functions, classes, or modules. Trigger with phrases like "generate unit tests", "create tests for", or "add test coverage".
generating-test-reports
Generate comprehensive test reports with metrics, coverage, and visualizations. Use when performing specialized testing. Trigger with phrases like "generate test report", "create test documentation", or "show test metrics".
orchestrating-test-execution
Coordinate parallel test execution across multiple environments and frameworks. Use when performing specialized testing. Trigger with phrases like "orchestrate tests", "run parallel tests", or "coordinate test execution".
managing-test-environments
Provision and manage isolated test environments with configuration and data. Use when performing specialized testing. Trigger with phrases like "manage test environment", "provision test env", or "setup test infrastructure".
generating-test-doubles
Generate mocks, stubs, spies, and fakes for dependency isolation. Use when creating mocks, stubs, or test isolation fixtures. Trigger with phrases like "generate mocks", "create test doubles", or "setup stubs".