scipy.stats.rv_continuous. nnlf# rv_continuous.nnlf(theta, x)[source]# 负对数似然函数。注释 —— 这是 -sum(log pdf(x, theta), axis=0),其中 theta 是参数(包括 loc 和 scale)。