Search, Train, Classify