Learning with Cases