Implement supervised NaiveBayes in F#