Skip to content

Commit

Permalink
finished notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
JochenSiegWork committed Dec 2, 2024
1 parent 0c14d58 commit ccb43e3
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 475 deletions.
2 changes: 1 addition & 1 deletion molpipeline/explainability/visualization/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def structure_heatmap_shap( # pylint: disable=too-many-branches

# note: the prediction/expected value of the last array element is used
text = (
f"$P(y=1|X) = {explanation.prediction[-1]:.2f}$ ="
f"$Prediction = {explanation.prediction[-1]:.2f}$ ="
"\n"
"\n"
f" $expected \ value={explanation.expected_value[-1]:.2f}$ + " # noqa: W605 # pylint: disable=W1401
Expand Down
Loading

0 comments on commit ccb43e3

Please sign in to comment.