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

        if indices is None:
            indices = np.arange(len(self.data_list))
        if isinstance(indices, int):
            indices = [indices]

        # Get the likelihood of the datasets
        for ind in indices:
            ll += self.data_list[ind].log_likelihood()

        return ll
Called when chunk of data should be processed.
dataset/ETHPy150Open slinderman/pyhawkes/pyhawkes/models.py/_DiscreteTimeNetworkHawkesModelBase.log_likelihood--crossover with--dataset/ETHPy150Open ipeirotis/Mturk-Tracker/app/mturk/updaters/management/commands/recalculate_aggregates.py/Command.process_chunk