def log_likelihood(self, data=None):
        ll = 0

        if data is None:
            data = self.data_list

        if not isinstance(data, list):
            data = [data]

        # Get the likelihood of the datasets
        for d in data:
            # ll += -gammaln(d.N+1)
            ll -= self.compute_integrated_rate(d).sum()
            ll += np.log(self.compute_rate_at_events(d)).sum()

        return ll
Returns the deprecated reference property.
dataset/ETHPy150Open slinderman/pyhawkes/pyhawkes/models.py/ContinuousTimeNetworkHawkesModel.log_likelihood--crossover with--dataset/ETHPy150Open slimkrazy/python-google-places/googleplaces/__init__.py/Prediction.reference