Explaining 上下文创建
- 作者仓库星标 0
- 作者仓库 skills-registry
Model Explainability Tool
Interpret machine learning model predictions using SHAP, LIME, and feature importance analysis to explain model behavior.
Overview
This skill empowers Claude to analyze and explain machine learning models. It helps users understand why a model makes certain predictions, identify the most influential features, and gain insights into the model's overall behavior.
How It Works
- Analyze Context: Claude analyzes the user's request and the available model data.
- Select Explanation Technique: Claude chooses the most appropriate explanation technique (e.g., SHAP, LIME) based on the model type and the user's needs.
- Generate Explanations: Claude uses the selected technique to generate explanations for model predictions.
- Present Results: Claude presents the explanations in a clear and concise format, highlighting key insights and feature importances.
When to Use This Skill
This skill activates when you need to:
- Understand why a machine learning model made a specific prediction.
- Identify the most important features influencing a model's output.
- Debug model performance issues by identifying unexpected feature interactions.
- Communicate model insights to non-technical stakeholders.
- Ensure fairness and transparency in model predictions.
Examples
Example 1: Understanding Loan Application Decisions
User request: "Explain why this loan application was rejected."
The skill will:
- Analyze the loan application data and the model's prediction.
- Calculate SHAP values to determine the contribution of each feature to the rejection decision.
- Present the results, highlighting the features that most strongly influenced the outcome, such as credit score or debt-to-income ratio.
Example 2: Identifying Key Factors in Customer Churn
User request: "Interpret the customer churn model and identify the most important factors."
The skill will:
- Analyze the customer churn model and its predictions.
- Use LIME to generate local explanations for individual customer churn predictions.
- Aggregate the LIME explanations to identify the most important features driving churn, such as customer tenure or service usage.
Best Practices
- Model Type: Choose the explanation technique that is most appropriate for the model type (e.g., tree-based models, neural networks).
- Data Preprocessing: Ensure that the data used for explanation is properly preprocessed and aligned with the model's input format.
- Visualization: Use visualizations to effectively communicate model insights and feature importances.
Integration
This skill integrates with other data analysis and visualization plugins to provide a comprehensive model understanding workflow. It can be used in conjunction with data cleaning and preprocessing plugins to ensure data quality and with visualization tools to present the explanation results in an informative way.
Prerequisites
- Appropriate file access permissions
- Required dependencies installed
Instructions
- Invoke this skill when the trigger conditions are met
- Provide necessary context and parameters
- Review the generated output
- Apply modifications as needed
Output
The skill produces structured output relevant to the task.
Error Handling
- Invalid input: Prompts for correction
- Missing dependencies: Lists required components
- Permission errors: Suggests remediation steps
Resources
- Project documentation
- Related skills and commands
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: ComeOnOliver/skillshub — distributed by TomeVault.
- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 This skill empowers Claude to analyze and explain machine learning models. It helps users understand why a model makes certain predictions, identify the most influential features, and gain insights into the model's overall behavior.
Analyze Context: Claude analyzes the user's request and the available model data. Select Explanation Technique: Claude chooses the most appropriate explanation technique (e.g., SHAP, LIME) based on the model type and the user's needs.
This skill activates when you need to: Understand why a machine learning model made a specific prediction. Identify the most important features influencing a model's output.
Examples
User request: "Explain why this loan application was rejected." The skill will: Analyze the loan application data and the model's prediction.
User request: "Interpret the customer churn model and identify the most important factors." The skill will: Analyze the customer churn model and its predictions.
# Model Explainability Tool
Interpret machine learning model predictions using SHAP, LIME, and feature importance analysis to explain model behavior.
## Overview
This skill empowers Claude to analyze and explain machine learning models. It helps users understand why a model makes certain predictions, identify the most influential features, and gain insights into the model's overall behavior.
## How It Works
1. **Analyze Context**: Claude analyzes the user's request and the available model data.
2. **Select Explanation Technique**: Claude chooses the most appropriate explanation technique (e.g., SHAP, LIME) based on the model type and the user's needs.
3. **Generate Explanations**: Claude uses the selected technique to generate explanations for model predictions.
4. **Present Results**: Claude presents the explanations in a clear and concise format, highlighting key insights and feature importances.
## When to Use This Skill
This skill activates when you need to:
- Understand why a machine learning model made a specific prediction.
- Identify the most important features influencing a model's output.
- Debug model performance issues by identifying unexpected feature interactions.
- Communicate model insights to non-technical stakeholders.
- Ensure fairness and transparency in model predictions.
## Examples
### Example 1: Understanding Loan Application Decisions
User request: "Explain why this loan application was rejected."
The skill will:
1. Analyze the loan application data and the model's prediction.
2. Calculate SHAP values to determine the contribution of each feature to the rejection decision.
3. Present the results, highlighting the features that most strongly influenced the outcome, such as credit score or debt-to-income ratio.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Overview → How It Works → When to Use This Skill → Examples → Example 1: Understanding Loan Application Decisions → Example 2: Identifying Key Factors in Customer Churn
要点 -> Analyze Context · Select Explanation Technique · Generate Explanations · Present Results · Model Type · Data Preprocessing · Visualization
文件/命令 -> ComeOnOliver/skillshub · github.com/ComeOnOliver/skillshub
内容 SHA-256 -> 416990bc7afc
原文结构
适用与边界
原文中的明确线索
ComeOnOliver/skillshub、github.com/ComeOnOliver/skillshub