Skip to content

Commit

Permalink
Update train_model_mixin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson authored Oct 10, 2023
1 parent 904eb5f commit 3b5003b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion simba/mixins/train_model_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b5003b

Please sign in to comment.