kf.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:mht 作者: jonatanolofsson 项目源码 文件源码
def nll(self, r):
        """Get the nll score of assigning a measurement to the filter."""
        zhat, H = r.mfn(self.x)
        dz = r.z - zhat
        S = H @ self.P @ H.T + r.R
        score = dz.T @ inv(S) @ dz / 2.0 + ln(2 * pi * sqrt(det(S)))
        return float(score)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号