add sample_weights to log_loss