You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we change !parsed[k] to parsed[k] === undefined, then you can have empty/default Classifier JSONs to load classifiers with, even if totalDocuments is 0.
The text was updated successfully, but these errors were encountered:
https://github.com/ttezel/bayes/blob/master/lib/naive_bayes.js#L33
If we change
!parsed[k]
toparsed[k] === undefined
, then you can have empty/default Classifier JSONs to load classifiers with, even if totalDocuments is 0.The text was updated successfully, but these errors were encountered: