In this paper, we propose a multilayer neural network model for generating SpamAssassin rules which selects good features and optimize rule weights at the same time. The weighted rule set obtained from training this neural network can be applied directly in SpamAssassin. The experiments showed that our network is fast to train and the resulted rule set has comparable detection rates to previous rule generation methods. |