Define the fit method to train the Naive Bayes classifier. • Here "X" is the feature matrix that contains the data samples • "y" contains the class labels corresponding to each data sample. Also get the unique class labels and store them in "self.classes".
