Assessing the Performance of a Machine Learning Algorithm in Identifying Bubbles in Dust Emission