weighted.one.vs.rest function

Weighted One-Vs-Rest