tfma.WriteResults
Stay organized with collections
Save and categorize content based on your preferences.
Writes Evaluation or Validation results using given writers.
tfma.WriteResults(
writers: List[tfma.writers.Writer
]
) -> Dict[str, beam.PCollection]
Args |
evaluation_or_validation
|
Evaluation or Validation output.
|
writers
|
Writes to use for writing out output.
|
Raises |
ValueError
|
If Evaluation or Validation is empty.
|
Returns |
A dict of writer results keyed by the writer stage name.
|
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.WriteResults\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#L983-L1006) |\n\nWrites Evaluation or Validation results using given writers. \n\n tfma.WriteResults(\n writers: List[../tfma/writers/Writer]\n ) -\u003e Dict[str, beam.PCollection]\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------------------------|---------------------------------------|\n| `evaluation_or_validation` | Evaluation or Validation output. |\n| `writers` | Writes to use for writing out output. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|--------------|---------------------------------------|\n| `ValueError` | If Evaluation or Validation is empty. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A dict of writer results keyed by the writer stage name. ||\n\n\u003cbr /\u003e"]]