<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/experimental/mcmc/kernel_outputs.py#L41-L110) |

Facade around outputs of `step_kernel`.

    tfp.experimental.mcmc.KernelOutputs(
        kernel, state, results
    )

Processes results and extracts useful data for analysis and further sampling.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `kernel` | The `TransitionKernel` which generated the outputs. |
| `state` | The final chain state as returned by `step_kernel`. |
| `results` | The final kernel results as returned by `step_kernel`. |

<br />

## Methods

### `get_diagnostics`

[View source](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/experimental/mcmc/kernel_outputs.py#L94-L101)

    get_diagnostics()

Generate diagnostics on the outputs.

### `realized_acceptance_rate`

[View source](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/experimental/mcmc/kernel_outputs.py#L103-L110)

    realized_acceptance_rate()

Return realized acceptance rate of the samples.