naive-bayes
naive-bayes copied to clipboard
ignore zero variance columns
When processing arbitrary statistical data, it is possible that some columns just may have a very low variance for one or more classes being trained. While it might be desirable to replace probability calculations with a sharp comparison, ignoring such columns at least does not break processing of the other columns (that's what currently happens, see tests).