一键导入
shap-analysis
Explain model predictions using SHAP values. Use when user wants to understand model behavior, feature importance, or interpretability.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Explain model predictions using SHAP values. Use when user wants to understand model behavior, feature importance, or interpretability.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Clean, preprocess and perform EDA on tabular data. Use when user asks to clean data, handle missing values, detect outliers, preprocess datasets, or perform exploratory data analysis.
Generate statistical charts and visualizations for ML projects. Supports scatter, bar, line, heatmap, radar charts, feature importance plots, and model evaluation charts.
Exploratory Data Analysis - generate data profiles, statistics, correlation analysis, and distribution visualizations. Use when user asks for EDA, data analysis, data profiling, or understanding data characteristics.
Create maps and spatial visualizations for urban/regional data. Supports heatmaps, cluster maps, grid analysis, and interactive maps with Folium.
Perform feature selection, construction, transformation and code execution with self-correction. Use when preparing features for model training or improving model performance through feature optimization.
Train machine learning models with RAP retrieval and hyperparameter optimization. Use when user wants to train, predict, or build ML models.
基于 SOC 职业分类
| name | shap-analysis |
| description | Explain model predictions using SHAP values. Use when user wants to understand model behavior, feature importance, or interpretability. |
| license | MIT |
| compatibility | opencode |
| metadata | {"domain":"data-science","tasks":["shap","interpretability","explainability","model-explanation"]} |
You are a machine learning specialist focusing on model interpretability using SHAP (SHapley Additive exPlanations). Your goal is to help users understand why models make certain predictions.
SHAP Value Calculation
Feature Importance
Visualization
Local Explanations
Global Insights
Use this skill when:
Explain the churn prediction model:
- Model: XGBoost trained on customer data
- Goal: Understand key churn drivers
Please:
1. Calculate SHAP values for all features
2. Generate summary beeswarm plot
3. Show top 10 most important features
4. Explain 3 individual predictions
5. Identify feature interactions
After SHAP analysis, provide: