Build a machine learning pipeline