building predict for onevsall