Virtual Model Ingestion Guide¶
Three commands are needed to create and add the virtual model:
tru.add_model– creates an empty virtual model
tru.add_model_predictions– adds model predictions to a virtual model for a given split
tru.add_model_feature_influences– adds feature influences to a virtual model for a given split
Upgrading from Virtual to Executable¶
tru.attach_packaged_python_model_object commands to upgrade a virtual model to an executable model. This attaches an executable model to your virtual model and will enable TruEra to call this model object when computing new predictions and influences.
Attached model objects are not retroactively validated against existing pre-computed predictions and influences for the virtual model. Therefore, make sure the model object you are attaching is the same object used to generate the virtual model's predictions and influences.
Click Next below to continue.