Estimated VC dimension for risk bounds