Data-driven approximation of Koopman operators and generators: Convergence rates and error bounds | Synapse