regression.check_recipe_func {shapr} | R Documentation |
Check regression.recipe_func
Description
Check that regression.recipe_func is a function that returns the RHS of the formula for arbitrary feature name inputs.
Usage
regression.check_recipe_func(regression.recipe_func, x_explain)
Arguments
regression.recipe_func |
Either |
x_explain |
Data.table with the features of the observation whose predictions ought to be explained (test data). |
Author(s)
Lars Henry Berge Olsen