Data-Driven Control With Learned Dynamics