RBM for thermal diffusion problem