built classifier training pipeline