Shifted the _check_sample_weight into BaseWeightBoosting class