tfma.view.render_plot

Stay organized with collections Save and categorize content based on your preferences.

Renders the plot view as widget.

Used in the notebooks

Used in the tutorials

result An tfma.EvalResult.
slicing_spec The tfma.SlicingSpec to identify the slice. Show overall if unset.
output_name A string representing the output name.
class_id A number representing the class id if multi class.
top_k The k used to compute prediction in the top k position.
k The k used to compute prediciton at the kth position.
label A partial label used to match a set of plots in the results.

A PlotViewer object if in Jupyter notebook; None if in Colab.