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))
评论列表
文章目录