I have known that naive bayes work for discrete variables but how can it work for continuous variables. How does it work for IRIS dataset ?

# How can iris data set be classified using naive bayes?

There are three types of naive bayes algorithms - gaussian, binomial and multinomial. Of these, gaussian naive bayes is used when the independent variables are continuous

1 Like