Interactive learning of dynamic systems