Regards to your third point: meaning I'll do a python script to count the number of tokens and give the output? The only option I saw in options.py is to give the tokens used as the evidence. which one should i look into in order to find out the number of spam and ham tokens that were actually used?
Warmest Regards, Christopher Isaiah Fun ~ Faith is believing in God when life tells you otherwise. On 31 Jan 2006, at 2:09 PM, Tony Meyer wrote: >> i managed to get the thing working, and it gave me an unsure >> classification because there wasn't any training done. Am i right >> to say then, that in order to train, i'll just use the options >> found in the sb_filter.py script? > > That's simplest, yes. (There are other options, like using > sb_upload.py with sb_server.py, or sb_mboxtrain.py). > >> is it difficult to install the latest version of python - i looked >> at the python.org, and there's no installer, but just UNIX compile >> - version 2.4.2. is that what you are talking about in the >> previous maiL? > > It's not at all difficult to install. You download it, decompress > it, and do "./configure", "make", and "make install" and it's > done. ActiveState have a prebuilt version for OS X if you would > prefer that. Fink & DarwinPorts might too, I'm not sure. > > <http://activestate.com> > >> eventually, i need to combine this python script, get out the >> number of ham and spam tokens, and pass this to a matlab code >> which is converted into C++. i heard that it's actually possible >> to "embed" C++ into python - have you done it before? > > Yes, but it would probably be much simpler to just call a Python > script and read the output. Or if you're wanting to run C++ code > in Python, then to call a compiled C++ application and read the > output. > > =Tony.Meyer > > -- > Please always include the list (spambayes at python.org) in your > replies > (reply-all), and please don't send me personal mail about SpamBayes. > http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this. > > ___________________________________________________________ Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry _______________________________________________ [email protected] http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.html
