Any Neural Net code in Python? I want to filter out spam email

Brad Clements bkc at Murkworks.com
Tue Apr 17 10:34:29 EDT 2001


Howdy,

I've been saving up all the spam messages I get for the past two months. I
have about 1869 spam messages saved.

Now I'd like to develop a neural net based filter for my email program and
train it to recognize these messages as spam.

I don't know much about neural networks, they just seemed to be the best way
to go to solve this problem. Spam messages have particular characteristics
that I can recognize (as a human), and I'm hoping to train a program to do
the same.

Some indicators of spam are

All caps in subject
keywords in body, like sex, viagra, penis, money, income, earn, free, free,
free
"weird" looking from address (username has many mixed digits or few vowels)
very long messages

(lots of other things)

None of these items by themselves are clear indicators, so I think a neural
network might be good at recognizing a spam pattern.

Anyone have any Python code or suggestions how to proceed?

--
Brad Clements,
bkc at murkworks.com





More information about the Python-list mailing list