Refactor classifier_base::classify using std::max_element