Can you add a check that ignoring a fraction of the samples is equivalent to make those `samples_weight` equal to zero?