mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2025-01-23 23:28:24 +00:00
e318921076
* Update NaiveBayes.php This fixes an issue using string labels that are string representations of integers, e.g. "1998" getting cast to (int)1998. * Update NaiveBayes.php fixes superfluous whitespace error * added tests for naive bayes with numeric labels * added array_unique * nested array_flips for speed * nested the array flips inside the array map * to appear style CI test