A learning robot for cognitive camera control in minimally invasive surgery