# tfma.utils.calculate_confidence_interval

<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/utils/math_util.py#L20-L32) |

Calculate confidence intervals based 95% confidence level.

    tfma.utils.calculate_confidence_interval(
        t_distribution_value: https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/ValueWithTDistribution
    )