tfma.view.render_time_series
Stay organized with collections
Save and categorize content based on your preferences.
Renders the time series view as widget.
tfma.view.render_time_series(
results: view_types.EvalResults,
slicing_spec: Optional[Union[slicer.SingleSliceSpec, tfma.SlicingSpec
]] = None,
display_full_path: bool = False
) -> Optional[visualization.TimeSeriesViewer]
Used in the notebooks
Args |
results
|
An tfma.EvalResults.
|
slicing_spec
|
A tfma.SlicingSpec determining the slice to show time series
on. Show overall if not set.
|
display_full_path
|
Whether to display the full path to model / data in the
visualization or just show file name.
|
Returns |
A TimeSeriesViewer object if in Jupyter notebook; None if in Colab.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tfma.view.render_time_series\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/view/widget_view.py#L60-L84) |\n\nRenders the time series view as widget. \n\n tfma.view.render_time_series(\n results: view_types.EvalResults,\n slicing_spec: Optional[Union[slicer.SingleSliceSpec, ../../tfma/SlicingSpec]] = None,\n display_full_path: bool = False\n ) -\u003e Optional[visualization.TimeSeriesViewer]\n\n### Used in the notebooks\n\n| Used in the tutorials |\n|---------------------------------------------------------------------------------------------------|\n| - [TensorFlow Model Analysis](https://www.tensorflow.org/tfx/tutorials/model_analysis/tfma_basic) |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------------------|-----------------------------------------------------------------------------------------------|\n| `results` | An tfma.EvalResults. |\n| `slicing_spec` | A tfma.SlicingSpec determining the slice to show time series on. Show overall if not set. |\n| `display_full_path` | Whether to display the full path to model / data in the visualization or just show file name. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A TimeSeriesViewer object if in Jupyter notebook; None if in Colab. ||\n\n\u003cbr /\u003e"]]