Parameter tuning for classifier learning