Development of a subtype classifier using top scoring pairs