tfp.experimental.mcmc.KernelOutputs
Stay organized with collections
Save and categorize content based on your preferences.
Facade around outputs of step_kernel
.
tfp.experimental.mcmc.KernelOutputs(
kernel, state, results
)
Processes results and extracts useful data for analysis and further sampling.
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 .
|
Methods
get_diagnostics
View source
get_diagnostics()
Generate diagnostics on the outputs.
realized_acceptance_rate
View source
realized_acceptance_rate()
Return realized acceptance rate of the samples.
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 2023-11-21 UTC.
[null,null,["Last updated 2023-11-21 UTC."],[],[],null,["# tfp.experimental.mcmc.KernelOutputs\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/probability/blob/v0.23.0/tensorflow_probability/python/experimental/mcmc/kernel_outputs.py#L41-L110) |\n\nFacade around outputs of `step_kernel`. \n\n tfp.experimental.mcmc.KernelOutputs(\n kernel, state, results\n )\n\nProcesses results and extracts useful data for analysis and further sampling.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------|--------------------------------------------------------|\n| `kernel` | The `TransitionKernel` which generated the outputs. |\n| `state` | The final chain state as returned by `step_kernel`. |\n| `results` | The final kernel results as returned by `step_kernel`. |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `get_diagnostics`\n\n[View source](https://github.com/tensorflow/probability/blob/v0.23.0/tensorflow_probability/python/experimental/mcmc/kernel_outputs.py#L94-L101) \n\n get_diagnostics()\n\nGenerate diagnostics on the outputs.\n\n### `realized_acceptance_rate`\n\n[View source](https://github.com/tensorflow/probability/blob/v0.23.0/tensorflow_probability/python/experimental/mcmc/kernel_outputs.py#L103-L110) \n\n realized_acceptance_rate()\n\nReturn realized acceptance rate of the samples."]]