def log_probability(self, x):
        lp = x * np.log(self.p) + (1-x) * np.log(1.0-self.p)
        lp = np.nan_to_num(lp)
        return lp
Function to create generic filenames based on what has been explored
dataset/ETHPy150Open slinderman/pyhawkes/pyhawkes/internals/distributions.py/Bernoulli.log_probability--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/examples/example_17_wrapping_an_existing_project/pypetwrap.py/make_filename