Naive Bayes Algorithm with floating weights or zero weights

157 Views Asked by At

What happens on those cases on Naive Bayes Algorithm :

1.one of the weights are zero ? 2.one of the weights are float?

I am asking because i am trying to use Naive Bayes to develop small application ,where some of the return values of the attributes are zero or floats

should I normalize the floats weights to integer ,should i remove the zero weight or it didn’t affect the result ?