A deep learning perspective into the figure-of-merit of thermoelectric materials