Data-Driven Identification of Quadratic Symplectic Representations of Nonlinear Hamiltonian Systems