pulsatrix
Loading...
Searching...
No Matches

LIME – local interpretable model-agnostic explanations (charter Part 1, Phase 3; theory: xai_context.aDNA's technique_lime.md). More...

#include <cmath>
#include <functional>
#include <random>
#include <stdexcept>
#include <string>
#include <vector>
#include "pulsatrix/assert.hpp"
#include "pulsatrix/attribution.hpp"
#include "pulsatrix/device_backend.hpp"
#include "pulsatrix/tensor.hpp"
#include "pulsatrix/weighted_linear_regression.hpp"
Include dependency graph for lime.hpp:

Go to the source code of this file.

Classes

class  pulsatrix::LIME
 Fits a locality-weighted linear surrogate around one input: perturb x with Gaussian noise, weight each perturbed sample by an exponential locality kernel pi(z) = exp(-||z-x||^2 / (2*sigma^2)), fit w* = argmin_w sum_i pi_i*(f(z_i) - f(x) - w^T(z_i-x))^2 + l2_lambda*||w||^2 via fit_weighted_linear_regression. More...
 

Namespaces

namespace  pulsatrix
 

Detailed Description

LIME – local interpretable model-agnostic explanations (charter Part 1, Phase 3; theory: xai_context.aDNA's technique_lime.md).