Naive Bayes and Frequency Table in Javascript Math Toolkit

I’ve started the process of adding Bayesian analysis into the Javascript Math Toolkit.  As you might expect, the first addition to the Bayesian family is the naive algorithm, which is driven by a frequency table.  FrequencyTable…