Endofotonics interview question

what does cross validation do?