test_predict_model: Model testing function

View source: R/get_predict_model.R

test_predict_modelR Documentation

Model testing function

Description

Model testing function

Usage

test_predict_model(x_test, predict_model, model, internal)

Arguments

predict_model

Function. The prediction function used when model is not natively supported. See the documentation of explain() for details.

model

Objects. The model object that ought to be explained. See the documentation of explain() for details.

internal

List. Holds all parameters, data, functions and computed objects used within explain() The list contains one or more of the elements parameters, data, objects, output.


NorskRegnesentral/shapr documentation built on April 19, 2024, 1:19 p.m.