ml-model-explainer

Explain ML model predictions using SHAP values, feature importance, and decision paths with visualizations.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ml-model-explainer" with this command: npx skills add dkyazzentwatwa/chatgpt-skills/dkyazzentwatwa-chatgpt-skills-ml-model-explainer

ML Model Explainer

Explain machine learning model predictions using SHAP and feature importance.

Features

  • SHAP Values: Explain individual predictions
  • Feature Importance: Global feature rankings
  • Decision Paths: Trace prediction logic
  • Visualizations: Waterfall, force plots, summary plots
  • Multiple Models: Support for tree-based, linear, neural networks
  • Batch Explanations: Explain multiple predictions

Quick Start

from ml_model_explainer import MLModelExplainer

explainer = MLModelExplainer()
explainer.load_model(model, X_train)

# Explain single prediction
explanation = explainer.explain(X_test[0])
explainer.plot_waterfall('explanation.png')

# Feature importance
importance = explainer.feature_importance()

CLI Usage

python ml_model_explainer.py --model model.pkl --data test.csv --output explanations/

Dependencies

  • shap>=0.42.0
  • scikit-learn>=1.3.0
  • pandas>=2.0.0
  • numpy>=1.24.0
  • matplotlib>=3.7.0

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

ocr-document-processor

No summary provided by upstream source.

Repository SourceNeeds Review
General

text-summarizer

No summary provided by upstream source.

Repository SourceNeeds Review
General

document-converter-suite

No summary provided by upstream source.

Repository SourceNeeds Review
General

financial-calculator

No summary provided by upstream source.

Repository SourceNeeds Review