The prepare_data.categorical() function is slow when evaluated for a single coalition.
This is a bottleneck for Causal Shapley values which call said function a lot with single coalitions.
prepare_data_single_coalition(internal, index_features)List.
Holds all parameters, data, functions and computed objects used within explain()
The list contains one or more of the elements parameters, data, objects, iter_list, timing_list,
main_timing_list, output, and iter_timing_list.
Lars Henry Berge Olsen