removed validate_targets_with_weights (used to remove rows with zero weight)