Deep learning of the dynamics of complex systems with its applications to biochemical molecules