What is fit function doing in Naive Bayes?

As In Naive Bayes algo, P(Y=c, X) is proportional to P(Y=c) * P(X/Y = c).
which straight formula.
So what is actually fit function doing here ?
As there is not update function or anything like that.

Hi @keshari I have shared an indepth explaintion with you via chat please have a look once

Hope that might helps :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.