Same question was asked by @srowen : It is easy to support multi-class?

Also, why 0.5 is used here as the threshold?