3D Printing with Machine Learning