Closed lhyelinn closed 1 year ago
Good Work! This LGTM.
Quick question: Is there a need to modify the NB function so that it accepts a random seed? Just curious as I'm not really familiar with NB
Quick question: Is there a need to modify the NB function so that it accepts a random seed? Just curious as I'm not really familiar with NB
Yes, we can include random seed as part of separating the dataset into training set and testing set. Since this is not necessary in all case of naive bayes, I modified the code to use random seed only when it's given.
Naisu! Approved!
Added tests for naive_bayes()