jekyll / classifier-reborn

A general classifier module to allow Bayesian and other types of classifications. A fork of cardmagic/classifier.
https://jekyll.github.io/classifier-reborn/
GNU Lesser General Public License v2.1
554 stars 110 forks source link

Fixed persistance for BayesMemoryBackend #147

Closed valeronm closed 7 years ago

valeronm commented 7 years ago

I got error TypeError: can't dump hash with default proc on trying to Marshal.dump for trained classifier. This PR fixes dumping for memory backend and adds a test for this regression.

Ch4s3 commented 7 years ago

Thanks @valeronm