fixes for sample_weight and scoring_weight