Finite Class Generalization Bound