Using machine learning for anomalous toolpath identification in subtractive manufacturing