def logmgf_from_counts(counts, noise_eps, l):
 q = compute_q_noisy_max(counts, noise_eps)
 return logmgf_exact(q, (2.0 * noise_eps), l)

def logmgf_from_counts ( counts , noise_eps , l ) : q = compute_q_noisy_max ( counts , noise_eps ) return logmgf_exact ( q , ( 2.0 * noise_eps ) , l )
reportnoisymax mechanism with noise_eps with 2*noise_eps-dp in our setting where one count can go up by one and another can go down by 1 .