Homepage › Solution manuals › Yaser Abu-Mostafa › Learning from Data › Exercise 2.5
Through equation (2.12), we find that δ = 709.527509678, so the probability is just greater or equal to zero.
import numpy as np N = 100 d = 0.1 mh = 2*N + 1 delta = 4*mh / np.exp(N * d**2 /8) delta, np.exp(N * d**2 /8)
(709.5275096780147, 1.1331484530668263)