Skip to content
Back to skills

Maple Eval

ASecurity

This evaluation probes the fidelity and predictive accuracy of local explanations generated by MAPLE. It measures how well a local linear model approximates the target model's predictions in the neighborhood of a test point, while also benchmarking overall regression accuracy against standard baselines. Use when the user wants to benchmark on UCI datasets, or asks about evaluating this task. Reports causal metric.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythontestinggitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill maple-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Maple Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Maple Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-maple-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-maple-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: maple-eval
description: This evaluation probes the fidelity and predictive accuracy of local explanations generated by MAPLE. It measures how well a local linear model approximates the target model's predictions in the neighborhood of a test point, while also benchmarking overall regression accuracy against standard baselines. Use when the user wants to benchmark on UCI datasets, or asks about evaluating this task. Reports causal metric.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 1807.02910
  bibtex_key: plumb2018maple
  confidence: high
---

# maple-eval

> Model Agnostic Supervised Local Explanations — Plumb et al. (2018) (arXiv:1807.02910, 2018)

## What this evaluates

This evaluation probes the fidelity and predictive accuracy of local explanations generated by MAPLE. It measures how well a local linear model approximates the target model's predictions in the neighborhood of a test point, while also benchmarking overall regression accuracy against standard baselines.

## Datasets

- **UCI datasets** — total ?; splits: train (-1), val (-1), test (-1); repo https://github.com/GDPlumb/MAPLE

## Metrics

- `causal metric` **(primary)** — range: other
  - Computes the RMSE between the local model's predictions and the target model's predictions at perturbed points sampled from a Gaussian neighborhood $p_x = \mathcal{N}(x, \sigma I)$. Uses squared $l_2$ loss averaged over 5 samples per test point.

## Input / output format

**Input**: Standardized feature vector x from the test set.

**Output**: Local linear model parameters (coefficients and intercept) used to predict at perturbed points x'.

## Scoring recipe

```python
def compute_causal_metric_rmse(local_model, target_model, test_set, sigma=0.1, n_samples=5):
    sq_losses = []
    for x in test_set:
        for _ in range(n_samples):
            x_prime = np.random.normal(x, sigma)
            pred_local = local_model.predict(x_prime)
            pred_target = target_model.predict(x_prime)
            sq_losses.append((pred_local - pred_target) ** 2)
    return np.sqrt(np.mean(sq_losses))
```

## Common pitfalls

- The neighborhood scale sigma must be chosen carefully; sigma=0.1 is used because data is normalized, but larger values like 0.25 change performance rankings in high dimensions.
- The causal metric evaluates fidelity to the target model's predictions, not ground truth labels, so a low score means the explanation faithfully reproduces the model, not necessarily that it is correct.
- All features and the response must be standardized to mean zero and variance one before running the evaluation.

## Evidence (verbatim from paper)

> We use our proposed causal metric defined in (1) as our evaluation metric, defining  $p_x$  as  $\mathcal{N}(x,\sigma I)$ , using the squared  $l_2$  loss, and approximating the expectation by taking  $x$  from the testing set and drawing five  $x'$  per testing point.

## Citation

```bibtex
@misc{plumb2018maple,
  title={Model Agnostic Supervised Local Explanations},
  author={Plumb et al. (2018)},
  year={2018},
  note={arXiv:1807.02910}
}
```

- arXiv: 1807.02910

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.