Scientists designed a multilayered metamaterial that realizes ultra-narrowband wavelength-selective thermal emission by combining the machine learning (Bayesian optimization) and thermal emission properties calculations (electromagnetic calculation). The joint team then experimentally fabricated the designed metamaterial and verified the performance. These results may facilitate the development of highly efficient energy devices.