def fit(self, data):
        if data is None:
            self.train_self()
        else:
            # not needed this week
            pass
Fit the model onto the given data set.
dataset/ETHPy150Open LargePanda/LearnPy/learnpy/models/NaiveBayes.py/NaiveBayes.fit