tensorflow / model-analysis

Model analysis tools for TensorFlow
Apache License 2.0
1.26k stars 276 forks source link

Feat: Have ability to return the HTML rather than creating the plots #175

Closed zippeurfou closed 1 year ago

zippeurfou commented 1 year ago

This is a feature request so not following the template. Let me know if I should anyways.

In tfdv there is the ability to get the HTML using get_statistics_html https://github.com/tensorflow/data-validation/blob/v1.13.0/tensorflow_data_validation/utils/display_util.py#L403-L466. This is pretty handy as sometimes you do want to create HTML files you save on your computer. tfma has a few functions:

It would be very handy to be able to just return the HTML for these. For context https://github.com/tensorflow/model-analysis/issues/10 solves render_slicing_metrics but not the others one as far as I am aware (thanks @Bobgy for the help)

zippeurfou commented 1 year ago

Closing this as #10 solves it.