Natural Language Processing (NLP) models, including those trained in SAS Visual Text Analytics, adhere to the same Analytics Life Cycle as other predictive & classification machine learning models. Since April of 2021, text concept, sentiment, topic, and category models could be registered with a few button clicks from SAS Visual Text Analytics into SAS Model Manager and deployed to CAS and MAS destinations. This means that SAS text models can be managed and deployed with ease. But, what about performance monitoring?
All models decay. Models become less relevant and useful over time. Text models are no exception. Model decay can be caused by gradual changes of the underlying data or sudden shocks and changes. Therefore, it is critical to continuously monitor the performance of models over time so that these signals can be caught early and mitigated.
As of SAS Viya 2022.09 (September 2022), you can monitor category models. Category models leverage rules to classify documents into groups. For example, when dealing with product complaints, a category model can try to classify which product the complaint is lodged against.
Category models are a good candidate for performance monitoring since they are trained to predict a category classification. Users can either build their own category rules or use SAS Visual Text Analytics to automatically generate rules against an existing target column. Having a target column enables performance monitoring since we can determine how well our text models predicts the category.
Text category models have several similarities with predictive & classification models. But there are fundamental differences that affect which metrics are used for monitoring. For example, text categorization can allow for assignment of the same observation against more than one category, whereas machine learning models based on categorical targets usually assign one or the other label.
Keeping this in mind, text category models focus upon:
We can monitor the performance of category models in just a few steps:
To see these steps in action, check out the following demo:
What would you like to see next for SAS Model Manager? What feedback do you have our text performance monitoring? Let me know in the comments or submit a request to SASWare Ballots with the Model Manager label 🗳️
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.