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 3b5003b commit a40b797
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions simba/mixins/train_model_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a40b797

Please sign in to comment.