target variable for a new problem. In that case, each binary classifier will solve the problem and predict the target variable.

Now, let’s say the three learners predict the outcome of the target variable as shown in the figure above. Classifiers 1, 2, and 3 predict 1, 0, and 0, respectively. Now, we will calculate the distance between the string “100” and all the codes assigned to each class.
As per the above figure, the distance between the string “100” and the code assigned to class 1 is the minimum. So, the final prediction will be class 1.








































0 Comments