> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# What formula do you use for your smoothing algorithm?

The exponential moving average formula aligns with the one used in TensorBoard.

Refer to this [explanation on Stack Overflow](https://stackoverflow.com/questions/42281844/what-is-the-mathematics-behind-the-smoothing-parameter-in-tensorboards-scalar/75421930#75421930) for details on the equivalent Python implementation. View the [source code for TensorBoard's smoothing algorithm](https://github.com/tensorflow/tensorboard/blob/34877f15153e1a2087316b9952c931807a122aa7/tensorboard/components/vz_line_chart2/line-chart.ts#L699) on GitHub.

***

<Badge stroke shape="pill" color="orange" size="md">[TensorBoard](/support/models/tags/tensorboard)</Badge>
