Cross validation with f1 for task 3