This is the class of auto visual inference,
inherited from bandicoot::BASE. It is an environment
with S3 class bandicoot_oop
.
Usage
auto_vi(
fitted_model,
keras_model = NULL,
data = NULL,
node_index = 1L,
env = new.env(parent = parent.frame()),
init_call = sys.call()
)
residual_checker(
fitted_model,
keras_model_name = "vss_phn_32",
data = NULL,
node_index = 1L,
env = new.env(parent = parent.frame()),
init_call = sys.call()
)
Arguments
- fitted_model
Model. A model object, e.g.
lm
.- keras_model
Keras model. A trained computer vision model.
- data
Data frame. The data used to fit the model.
- node_index
Integer. An index indicating which node of the output layer contains the visual signal strength. This is particularly useful when the keras model has more than one output nodes.
- env
Environment. The instance environment.
- init_call
Call. Contents of the
..init_call...
It is recommended to leave it as default.- keras_model_name
Character. A model name to be used by
get_keras_model()
. See alsolist_keras_model()
.
Functions
auto_vi()
: Class constructor, same asAUTO_VI$instantiate()
.residual_checker()
: Class constructor, same asAUTO_VI$instantiate()
, but uses thekeras_model_name
argument rather thankeras_model
.