Comparing keyword-based and machine-learning topic detection
Pega Platform offers two types of topic detection models that you can use interchangeably, depending on your needs. Learn more about the differences between keyword-based and machine learning topic detection models and when to use them.
Keyword-based topic detection
Keyword-based topic detection scans a unit of text in search of topic-specific keywords. Based on the detected keywords, topic detection assigns the text to a corresponding topic.
For example, keyword-based topic detection assigns the sentence My uPlusTelco laptop is broken, need help! to the
category based on the broken and help keywords that uPlusTelco, a telecommunication company, defined earlier.Use keyword-based topic detection if you have not fully developed your machine learning models yet, or do not produce satisfactory results, for example, because there is not enough training data. You can later switch from keyword-based topic detection to machine learning topic detection.
Machine learning topic detection
In machine learning topic detection, thetopic detection models teach themselves to categorize text by examining previous and incoming text classification. Based on how human operators classify various texts, machine learning discovers patterns for use in topic detection. You can also provide feedback to active machine learning models to increase the accuracy of topic detection in production environments.
For example, uPlusTelco starts storing incoming messages from customers under relevant categories, for example, by assigning the message I want to buy a new phone to the
category. The company then feeds the collected data to a machine learning topic detection model. Based on the training data, the topic detection model learns how to classify incoming customer messages and then starts to analyze incoming text on its own.Use machine learning topic detection if you have access to previous customer messages and their corresponding categories, or if you can provide the machine learning model with relevant training data.
Previous topic Detecting the topics of text fragments Next topic Creating keyword-based topic detection models