

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Machine Learning (CS 5350/CS 6350) 4 Nov 2008
Want to turn an algorithm for solving a simple problem into an algorithm for solving a more complex problem.
Simple example: multiclass classification with a binary classifier. Several straightforward approaches (OVA/OVR and AVA/OVO/AP) and several non-straightforward approaches (ECOC, SECOC, etc.).
The general requirements of a reduction are:
One of the easiest reductions is from multiclass classification to binary classification using the “one versus all” approach.
In multiclass classification, we are given inputs x ∈ X and outputs y ∈ { 1 , 2 , 3 ,... , K}. The multiclass classification loss for a hypothesis h is 1 [h(x) 6 = y], where 1 [·] is an indicator function that takes value 1 when · is true and value 0 otherwise. In the OVA reduction, we train K-many binary classifiers h 1 ,... , hK. Classifier hk attempts to distinguish between class k and not class k. In particular, the reduction words as:
K times the loss on the binary problems. This is pretty bad.
We can do better by using the all-versus-all reduction. Here, we train
2
classifiers, where classifier hij (for 1 ≤ i < j ≤ K) distinguishes only between classes i and j. The reason the error bound for OVA was so bad is because just one classifier screwing up can completely change our decisions. AVA has the advantage that this is no longer true. The reduction works as follows:
There are other methods for doing multiclass-to-binary reductions:
Reductions 2
There are also other problems we can solve with reductions:
For a fairly substantiantial bibliography, see http://hunch.net/~jl/projects/reductions/reductions.html.