Generate Neighborhood
Synopsis
This operator creates the neighbourhood as defined in LIME and returns a weighted example set for each example.
Description
In the LIME algorithm we create an artificial set of data points and weight them according to the distance to the given example. This operator allows you to create those weighted neighboorhoods around a given data point.
Input
example set
The data you want to generate neighborhoods for.
Output
collection of example sets
A collection (list) of data sets containing the neighborhood for each data point.
original
The original data set.
Parameters
Sample size
Most algorithm use some sample size generation internally. For LIME and Explain Predictions this is the number of random sample drawn. In case of Shapely and kernelSHAP this is the number of permutations.
Redraw local samples
Only available for LIME. If checked the operator will draw new random samples in each iteration. If deactivated a set of examples is generated once and used for the interpretation of each example.