Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Profile picture
BlandCormorant75
Moderator
1 Question, 6 Answers
  Active since 07 January 2025
  Last activity one month ago

Reputation

0

Badges 1

6 × Eureka!
0 Votes
12 Answers
176 Views
0 Votes 12 Answers 176 Views
Hi everyone, has someone of you tried to track your SHAP plots with clearML? Somehow in my dashboard the tracked plots are empty. Might they be too complex o...
one month ago
0 Hi Everyone, Has Someone Of You Tried To Track Your Shap Plots With Clearml? Somehow In My Dashboard The Tracked Plots Are Empty. Might They Be Too Complex Or Something? Br Sophie

"plt" comes from matplotlib.pyplot and as I understand the clearML documentation, matplotlib plots are logged automatically. In other scripts, this works just fine but not with these SHAP-plots that are just displayed as empty plots:
image

one month ago
0 Hi Everyone, Has Someone Of You Tried To Track Your Shap Plots With Clearml? Somehow In My Dashboard The Tracked Plots Are Empty. Might They Be Too Complex Or Something? Br Sophie

@<1523701205467926528:profile|AgitatedDove14> can you please tell me which SHAP-, matplotlib-, and clearML-versions you are using? And would it be possible to add a title to that plot you are tracking or would plt.title() again destroy something there?

one month ago
0 Hi Everyone, Has Someone Of You Tried To Track Your Shap Plots With Clearml? Somehow In My Dashboard The Tracked Plots Are Empty. Might They Be Too Complex Or Something? Br Sophie

Hey, good day and thank you for your quick replies! So this is the code snippet I was using to create the plots (see appended image). I also tried removing the plt.savefig() part or the plt.show() part or manually adding the report_matplotlib_figure-part for the task but nothing seems to make a difference.
image

one month ago
0 Hi Everyone, Has Someone Of You Tried To Track Your Shap Plots With Clearml? Somehow In My Dashboard The Tracked Plots Are Empty. Might They Be Too Complex Or Something? Br Sophie

Hey Martin, unfortunately the adapted import order did not change anything. Thank you anyways 🙂 I will try to provide some standalone code so the issue can be reproduced

one month ago
0 Hi Everyone, Has Someone Of You Tried To Track Your Shap Plots With Clearml? Somehow In My Dashboard The Tracked Plots Are Empty. Might They Be Too Complex Or Something? Br Sophie

Hey Martin, it's really weird, but running this same code, you added here, still leads to these empty figures in the "Plots" section of the clearML experiment.

We decided now to use the "report_image"-option which at least somehow displays the plots in the "debug samples"-section of the experiment.

Thank you very much for your help 🙏

one month ago
0 Hi Everyone, Has Someone Of You Tried To Track Your Shap Plots With Clearml? Somehow In My Dashboard The Tracked Plots Are Empty. Might They Be Too Complex Or Something? Br Sophie

Hey @<1523701205467926528:profile|AgitatedDove14> , thank you for your help. Unfortunately it did not help to remove the "close". I also created a Dummy-Notebook to reproduce the issue. But it does not seem to work. My plot in the clearML dashboard is empty, unfortunately. I also tried, not using plt at all and uploading the shap-plot as is:

# Create the Beeswarm Plot
shap_plot = shap.summary_plot(shap_values, X_test)  # Show top 5 features

clearml_task.get_logger().report_matplotlib...
one month ago