Difference between KNIME-Naive Bayes and e1071-Naive Bayes

hi,

is there a difference between KNIME-Naive Bayes and e1071-Naive Bayes? I have two different results.

Hi,

Is this the source code of the algorithm you are revering to? One difference I have spotted is that the R implementation uses the adaptive smoothing whereas the KNIME implemenation follows the threshold implementation of the PMML standard. Also if enabled the KNIME implementation treats missing values as a special nominal value and also considers them during prediction.

If you are interested you can have a look at the source code of the implemenation in KNIME. The KNIME Naive Bayes algorithm uses dedicated Java classes to work with nominal, numerical and bit vector columns. All models and the computation of the probability can be viewed here.

Bye

Tobias

1 Like