Data-driven modeling and control