foryourhealth111-pixel/Vibe-Skills / bundled/skills/explaining-machine-learning-models
explaining-machine-learning-models
VerifiedExplain trained machine learning models through feature attribution, local explanations, and behavior summaries. Use as an explicit/manual helper once a model already exists, not for training ownership, leakage auditing, or general ML strategy selection.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.5 KB |
| assets/README.md | markdown | 362 B |
| assets/example_explanation.json | config | 3.5 KB |
| assets/explanation_template.html | other | 3.8 KB |
| assets/visualization_styles.css | other | 2.5 KB |
| references/README.md | markdown | 551 B |
| scripts/README.md | markdown | 407 B |
| scripts/data_preprocessing.py | script | 2.8 KB |
| scripts/explain_model.py | script | 2.9 KB |
| scripts/feature_importance.py | script | 2.8 KB |
assets/explanation_template.html
View on GitHub<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Model Explanation</title>
<style>
/* Basic Reset */
body, h1, h2, h3, p, ul, li {
margin: 0;
padding: 0;
border: 0;
}
/* General Styling */
body {
font-family: sans-serif;
line-height: 1.6;
background-color: #f4f4f4;
color: #333;
padding: 20px;
}
.container {
max-width: 960px;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 2.5rem;
margin-bottom: 20px;
text-align: center;
color: #2c3e50;
}
h2 {
font-size: 1.8rem;
margin-bottom: 15px;
color: #34495e;
}
h3 {
font-size: 1.4rem;
margin-bottom: 10px;
color: #5b6c7f;
}
p {
margin-bottom: 15px;
}
ul {
list-style: disc;
margin-left: 20px;
margin-bottom: 15px;
}
/* Explanation Specific Styling */
.explanation-section {
margin-bottom: 30px;
border-bottom: 1px solid #ddd;
padding-bottom: 20px;
}
.explanation-section:last-child {
border-bottom: none;
}
.feature-importance {
margin-top: 10px;
}
.feature-importance table {
width: 100%;
border-collapse: collapse;
}
.feature-importance th, .feature-importance td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
.feature-importance th {
background-color: #f2f2f2;
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
padding: 15px;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
h3 {
font-size: 1.2rem;
}
.feature-importance table {
font-size: 0.9rem;
}
}
</style>
</head>
<body>
<div class="container">
<h1>Model Explanation</h1>
<div class="explanation-section">
<h2>Model Summary</h2>
<p><strong>Model Type:</strong> {{model_type}}</p>
<p><strong>Model Description:</strong> {{model_description}}</p>
</div>
<div class="explanation-section">
<h2>Feature Importance</h2>
<div class="feature-importance">
<p>The table below shows the importance of each feature in the model:</p>
<table>
<thead>
<tr>
<th>Feature</th>
<th>Importance</th>
</tr>
</thead>
<tbody>
{{feature_importance_table}}
</tbody>
</table>
</div>
</div>
<div class="explanation-section">
<h2>Example Prediction Explanation</h2>
<h3>Input Data:</h3>
<p>{{example_input_data}}</p>
<h3>Prediction:</h3>
<p>{{example_prediction}}</p>
<h3>Explanation:</h3>
<p>{{example_explanation}}</p>
</div>
<div class="explanation-section">
<h2>Overall Insights</h2>
<p>{{overall_insights}}</p>
</div>
</div>
</body>
</html>Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |