tfma.is_legacy_estimator
Stay organized with collections
Save and categorize content based on your preferences.
Returns true if there is a legacy estimator.
tfma.is_legacy_estimator(
eval_shared_model: Optional[tfma.types.EvalSharedModel
] = None
) -> bool
Args |
eval_shared_model
|
Shared model (single-model evaluation) or list of shared
models (multi-model evaluation). Required unless the predictions are
provided alongside of the features (i.e. model-agnostic evaluations).
|
Returns |
A boolean indicating if legacy predict extractor will be used.
|
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.is_legacy_estimator\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/api/model_eval_lib.py#L1009-L1032) |\n\nReturns true if there is a legacy estimator. \n\n tfma.is_legacy_estimator(\n eval_shared_model: Optional[../tfma/types/EvalSharedModel] = None\n ) -\u003e bool\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `eval_shared_model` | Shared model (single-model evaluation) or list of shared models (multi-model evaluation). Required unless the predictions are provided alongside of the features (i.e. model-agnostic evaluations). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A boolean indicating if legacy predict extractor will be used. ||\n\n\u003cbr /\u003e"]]