From a40b79764a3bd1c5456273bc344fec5cfe6a9b12 Mon Sep 17 00:00:00 2001 From: Simon Nilsson Date: Tue, 10 Oct 2023 14:42:56 -0400 Subject: [PATCH] Update train_model_mixin.py --- simba/mixins/train_model_mixin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/simba/mixins/train_model_mixin.py b/simba/mixins/train_model_mixin.py index 23d12e62e..913f5e3c6 100644 --- a/simba/mixins/train_model_mixin.py +++ b/simba/mixins/train_model_mixin.py @@ -771,9 +771,7 @@ def create_shap_log( For improved run-times, use multiprocessing through :meth:`simba.mixins.train_model_mixins.TrainModelMixin.create_shap_log_mp` .. math:: - \begin{equation} - \text{Mobility} = \sqrt{\frac{\text{variance of the first derivative}}{\text{variance of the signal}}} - \end{equation} + \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)) :param str ini_file_path: Path to the SimBA project_config.ini :param RandomForestClassifier rf_clf: sklearn random forest classifier