How would you optimize a machine learning pipeline for large-scale clinical datasets at A healthcare data?