ZReverend, bayesian classifier for Zope 3

Reverend is a lightweight python tool by Amir Bakhtiar that provides a bayesian classifier. It's a perfect tool to classify spam mails for instance.

http://www.divmod.org/projects/reverend

It was its first use case anyway, since the authors based it on Christophe Delord PopF tool:

http://christophe.delord.free.fr/


I need this tool for the webmail I am coding but since I have thaught of many other usages in zope for a bayesian classifier, I have created a small Zope 3 utility (very early stage right now).

The Z3 product is called "zreverend" and wraps reverend into zope by:

  • automatically saving the bayesian network into persistent dictionnaries in the ZODB
  • publish all useful methods to use reverend in some code
  • provide a minima managment screen
  • ... more to come i guess

That's my first "pure" zope 3 product so besides its usage it provided me a good training. (it still needs some good code review though)

Notice that Zope 2 developers can use it through Five, by manually instanciate ZBayes objects, like I did in CPSMailAccess with zemantic and like I will with zreverend.

Browse the code here:

https://svn.nuxeo.org/trac/pub/browser/z3lab/zreverend/trunk/

get the code with svn like this:

svn co https://svn.nuxeo.org/pub/z3lab/zreverend/trunk/ zreverend


If this tool is somehow useful to you or if please let me know !

Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior.

Like this post? Share it:


Trackback Pings

Trackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/tarek_ziade/2005_07_04_zreverend_bayesian/tbping
Posted by Tarek Ziadé @ 07/04/2005 01:54 PM. - Categories: python, zope, zope3 -  0 comments

Nuxeo Bloggers: Log in!
Nuxeo - Indesko - Nuxeo 5 Project
All content is copyrighted by their author.
CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS.