python version restricted boltzmann machine tools for solve problems or build more complex model