well i am little bit confused in Naive Bayes
In naive baye’s algorithm where doest the training takes place i mean we do not learn any parameters like we do in linear regression through training of the model so when we apply Multinomial Naive Bayes throught sklearn library why we train our data by passing training data??