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
551 stars 109 forks source link

Multiple separate bayes classifiers with single redis database #185

Open pyromaniackeca opened 5 years ago

pyromaniackeca commented 5 years ago

Is there a way to have multiple completely separate bayes classifiers with a single redis database?

I can monkey patch the redis backend to accept a scope param and combine that with the keys. But I'm curious to know if there's a supported way to do it that I'm missing?

Thanks.

Ch4s3 commented 5 years ago

There's no official way to do that, but I'd accept a PR to do it.