LIME: sampling for local exploration

generate_neighbourhood(data, explained_instance, size)

Arguments

data

Data frame from which observations will be generated.

explained_instance

A row in an original data frame (as a data.frame).

size

Number of observations to be generated.

Value

data.frame