option to keep test images in the set while selecting greedily