Machine Learning Design Pattern