Check if data, explained instance and size make sense.
check_conditions(data, explained_instance, size)
data | Data frame from which observations will be sampled. |
---|---|
explained_instance | Instance around which points will be sampled. |
size | Number of observation in simulated dataset |
Produces an error if any of conditions aren't met.