Learning_Hamiltonians Python code to learn the Hamiltonian of a mechanical system with neural networks.