結果 : how to calculate negative log likelihood python