Computational methods for system identification and data-driven forecasting