def __init__(self, filename, with_morality=True):
        self.players, self.interactions = self._read_csv(filename)
        self.nplayers = len(self.players)
        self.nrepetitions = len(self.interactions)

        # Calculate all attributes:
        self.build_all(with_morality)
Computes the gradient of the prior with
dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/result_set.py/ResultSetFromFile.__init__--crossover with--dataset/ETHPy150Open automl/RoBO/robo/priors/base_prior.py/TophatPrior.gradient