Experiment.py 文件源码

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

项目:F_UNCLE 作者: fraserphysics 项目源码 文件源码
def get_log_like(self, sim_data):
        """Gets the log likelihood of the current simulation

        Args:
           sim_data(list): Length three list corresponding to the `__call__`
                           from a Experiment object
           experiment(Experiment): A valid Experiment object

        Return:
            (float): The log of the likelihood of the simulation
        """

        epsilon = self.compare(sim_data)
        return -0.5 * np.dot(epsilon,
                             np.dot(inv(self.get_sigma()),
                                    epsilon))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号