From Natural Selection to Classification