def save_if_needed(self):
        self.save_count += 1
        if self.save_count >= self.min_save_count:
            self.save()
Increase save_count and save data to file if
dataset/ETHPy150Open dchest/pybayesantispam/bayes.py/Storage.save_if_needed