# tfma.Validate

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/api/verifier_lib.py#L23-L50) |

Performs validation of alternative evaluations.

    tfma.Validate(
        alternatives: Dict[str, beam.PTransform],
        validators: List[https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/validators/Validator]
    ) -> https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/evaluators/Evaluation

<br />

<br />

<br />

| ## Args ||
|---|---|
| `extracts` | PCollection of extracts. |
| `alternatives` | Dict of PTransforms (Extracts -\> Evaluation) whose output will be compared for validation purposes (e.g. 'baseline' vs 'candidate'). |
| `validators` | List of validators for validating the output from running the alternatives. The Validation outputs produced by the validators will be merged into a single output. If there are overlapping output keys, later outputs will replace earlier outputs sharing the same key. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Validation dict. ||

<br />