NorskRegnesentral / shapr

Explaining the output of machine learning models with more accurately estimated Shapley values
https://norskregnesentral.github.io/shapr/
Other
148 stars 34 forks source link

Add prefix Note/Warning to console print #259

Open martinju opened 3 years ago

martinju commented 3 years ago

We print a series of "messages" to the console when e.g. a model does not store feature label classes. Either switch to using warning() or prefix the message with something like "Success with note: ..." to clarify to the reader that it completed fine, but that the content of the message should be noted".

martinju commented 3 years ago

This is not fixed for all cases. Reopening. May also consider switching to using rlang::inform() instead of message() to give information in white text instead of red (as for warning/errors).