Data systems that learn to be better