Machine Learning Pipeline for Predictive Maintenance in Polymer 3D Printing