y_i_\log(p_i)_+_(1_-_y_i)_\log(1_-_p_i)