build the votes using one against one method to predict multi classification