tfl.visualization.plot_all_calibrators

View source on GitHub

Plots all feature calibrator(s) extracted from a TFL canned estimator.

tfl.visualization.plot_all_calibrators(
    model_graph,
    num_cols=4,
    **kwargs
)

The generated plots are arranged in a grid. This function requires IPython and colabtools packages.

model_graph = estimators.get_model_graph(saved_model_path)
visualization.plot_all_calibrators(model_graph)

Args:

  • model_graph: a model_info.ModelGraph objects to plot.
  • num_cols: Number of columns in the grid view.
  • **kwargs: args passed to analysis.plot_calibrators.