scikit-learn – skill Dữ liệu & Khoa học cho agent AI
Machine learning bằng Python với scikit-learn. Dùng cho phân loại, hồi quy, phân cụm, đánh giá mô hình và pipeline ML.
Cài skill scikit-learn bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/scikit-learn-7b4ef.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /scikit-learn – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/scikit-learn-7b4ef.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $scikit-learn – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/scikit-learn-7b4ef.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /scikit-learn – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/scikit-learn-7b4ef.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /scikit-learn – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Scikit-learn
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use This Skill
Use the scikit-learn skill when:
- Building classification or regression models
- Performing clustering or dimensionality reduction
- Preprocessing and transforming data for machine learning
- Evaluating model performance with cross-validation
- Tuning hyperparameters with grid or random search
- Creating ML pipelines for production workflows
- Comparing different algorithms for a task
- Working with both structured (tabular) and text data
- Need interpretable, classical machine learning approaches
Example Workflows
The named classification/clustering scripts and expanded per-topic reference files are not bundled in this catalog tree. Do not run those paths or claim their results. Use the inline examples in the detailed guide, or request/review the actual upstream assets before depending on them. Example snippets assume user-provided feature/target data and are not production certifications.
Classification Pipeline
Run a complete classification workflow with preprocessing, model comparison, hyperparameter tuning, and evaluation:
# Not bundled: obtain and review classification_pipeline.py before execution.This script demonstrates:
- Handling mixed data types (numeric and categorical)
- Model comparison using cross-validation
- Hyperparameter tuning with GridSearchCV
- Comprehensive evaluation with multiple metrics
- Feature importance analysis
Clustering Analysis
Perform clustering analysis with algorithm comparison and visualization:
# Not bundled: obtain and review clustering_analysis.py before execution.This script demonstrates:
- Finding optimal number of clusters (elbow method, silhouette analysis)
- Comparing multiple clustering algorithms (K-Means, DBSCAN, Agglomerative, Gaussian Mixture)
- Evaluating clustering quality without ground truth
- Visualizing results with PCA projection
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- seaborn – Seaborn là thư viện trực quan hóa Python để tạo đồ họa thống kê đạt chuẩn xuất bản. Dùng…
- search-specialist – Nghiên cứu câu hỏi bằng tìm kiếm web có trọng tâm, xác minh nguồn gốc chính và nêu rõ…
- second-deposit-igaming – Khám phá dữ liệu xuất tiền gửi của casino địa phương với tín hiệu heuristic và so sánh…
- segment-cdp – Mẫu thực hành chuyên sâu cho Segment Customer Data Platform, gồm Analytics.js, tracking…
- senior-fullstack – Điều phối triển khai full-stack qua các ranh giới giao diện, service, cơ sở dữ liệu và…
- skill-gap-analysis – Sổ theo dõi khoảng cách kỹ năng: nhân viên, lĩnh vực kỹ năng, mức hiện tại so với mức…
- skill-optimizer – Chẩn đoán và tối ưu Agent Skills (SKILL.md) dựa trên dữ liệu phiên làm việc thực tế và…
- skin-health-analyzer – Phân tích dữ liệu sức khỏe da, nhận diện các mẫu vấn đề da, đánh giá tình trạng sức khỏe…