filament recognition, machine learning, autonomous additive manufacturing, spectroscopy sensor