PAC-Learnable

A concept C is PAC-Learnable by a hypothesis space H if:

Calculating Example Sizes

import math

def calc_m(epsilon, delta, f, v):
    H = f**v
    return math.log(delta / H) / math.log(1 - epsilon)