Applying machine learning to categorize distinct categories of network traffic