Processing and classifying IP packet data on the Internet based on machine learning