fix bug in classification, scale_pos_weight initialization