General CV: fixed logregr predict function overflow problem