fix onerule for numeric, transform adaboost.m1 in adaboost.samme