This adds a new method get_group_predictions to CausalInsightSlim and introduces changes necessary to speed grouped predictions up. Adds test for the functionality and a notebook grouped_predictions.ipynb that illustrates it. At least for now, CausalInsightSlim also preserves the get_fips_predictions functionality, which is useful for backwards compatibility and testing of the new functionality (see test_grouped_predictions.py). Once this has been in use for quite some time without errors, we will consider simplifying and refactoring.
This adds a new method
get_group_predictions
toCausalInsightSlim
and introduces changes necessary to speed grouped predictions up. Adds test for the functionality and a notebookgrouped_predictions.ipynb
that illustrates it. At least for now,CausalInsightSlim
also preserves theget_fips_predictions
functionality, which is useful for backwards compatibility and testing of the new functionality (seetest_grouped_predictions.py
). Once this has been in use for quite some time without errors, we will consider simplifying and refactoring.