[sphinx] Fixed doc test

parent 40a4b9b9
Pipeline #21716 passed with stages
in 10 minutes and 27 seconds
...@@ -254,8 +254,8 @@ transactions, 9856 are true matches. The 95% confidence interval for true match ...@@ -254,8 +254,8 @@ transactions, 9856 are true matches. The 95% confidence interval for true match
rate is then: rate is then:
.. doctest:: python .. doctest:: python
>>> bob.measure.utils.confidence_for_indicator_variable(9856, 10000) >>> numpy.allclose(bob.measure.utils.confidence_for_indicator_variable(9856, 10000),(0.98306835053282549, 0.98784270928084694))
(0.98306835053282549, 0.98784270928084694) True
meaning there is a 95% probability that the true match rate is inside :math:`[0.983, meaning there is a 95% probability that the true match rate is inside :math:`[0.983,
0.988]`. 0.988]`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment