Tiny correction: use max.iter instead of max_iter
Minor changes: max_iter --> max.iter in all regressions and

emphasize in doc that by and generic.cv work on more general cases