Nitpick: It seems equivalent to `np.dot(score, sample_weight)`?