Machine learning-assisted close-set X-ray diffraction phase identification of transition metals