naive-bayes icon indicating copy to clipboard operation
naive-bayes copied to clipboard

ignore zero variance columns

Open pavelstudeny opened this issue 6 years ago • 0 comments

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).

pavelstudeny avatar Mar 05 '18 12:03 pavelstudeny