I am new to Java. I will be glad if someone can give me a sample code or detailed explanations on how to " Calssify network traffic using Bayesian classifier". I have input parameter like: Packet size, packet Inter-arrival time and TCP port information..

How can I use java with bayesian classifier to classify the network traffic and detect if there is any intrusions...