Machine Learning as a Pipeline