Nvidia Interview Question | Naive Bayes Classifier

Question

How can we use the Naive Bayes classifier for categorical features? What if some features are numerical?

in progress 0
Dhruv2301 4 years 1 Answer 2222 views Great Grand Master 0

Answer ( 1 )

  1. Naive Bayes is a type of supervised learning algorithm which comes under the Bayesian Classification It uses probability for doing its predictive analysis .

    The categorical Naive Bayes classifier is suitable for classification with discrete features that are categorically distributed. The categories of each feature are drawn from a categorical distribution.

    For numerical columns, we can use Mean , Standard Deviation and Normal Distribution formula for calculating Likelihood

Leave an answer

Browse
Browse