Live Arena

Functions used to create and run live version of Arena

create_arena()

Creates arena object

push_model()

Adds model to arena

push_observations()

Adds new observations to arena

print(<arena_live>)

Prints live arena summary

run_server()

Run server providing data for live Arena

Static Arena

Functions used to create and upload JSON file for Arena

create_arena()

Creates arena object

push_model()

Adds model to arena

push_observations()

Adds new observations to arena

print(<arena_static>)

Prints static arena summary

upload_arena()

Upload generated json file from static arena

Misc

Supplementary functions

get_feature_importance()

Internal function for calculating feature importance

get_json_structure()

Prepare object ready to change into json

get_observations_list()

Generates list of rownames of each observation from each batch

get_shap_values()

Internal function for calculating Shapley Values

get_variables_list()

Generates list of unique variables(without y) from each explainer

validate_new_model()

Checks if it is safe do add a new model to the arena object

validate_new_observations()

Checks if it is safe do add new observations to the arena object