From 3b5003b47542e033128f96a4c8fe302c84fce46c Mon Sep 17 00:00:00 2001 From: Simon Nilsson Date: Tue, 10 Oct 2023 14:31:23 -0400 Subject: [PATCH] Update train_model_mixin.py --- simba/mixins/train_model_mixin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simba/mixins/train_model_mixin.py b/simba/mixins/train_model_mixin.py index 13f14a437..23d12e62e 100644 --- a/simba/mixins/train_model_mixin.py +++ b/simba/mixins/train_model_mixin.py @@ -771,7 +771,9 @@ def create_shap_log( For improved run-times, use multiprocessing through :meth:`simba.mixins.train_model_mixins.TrainModelMixin.create_shap_log_mp` .. math:: - $$\phi_i(f, x) = \sum_{S \subseteq F \setminus {i}} \frac{|S|!(|F| - |S| - 1)!}{|F|!} (f_{S \cup {i}}(x_{S \cup {i}}) - f_S(x_S))$$ + \begin{equation} + \text{Mobility} = \sqrt{\frac{\text{variance of the first derivative}}{\text{variance of the signal}}} + \end{equation} :param str ini_file_path: Path to the SimBA project_config.ini :param RandomForestClassifier rf_clf: sklearn random forest classifier