Chapter 15: Classifying Documents and Setting up Human in the Loop for Active Learning
In the last chapter, we covered how you can use Amazon Comprehend Custom Entity to extract business entities from your documents, and we showed you how you can use humans in the loop with Amazon Augmented AI (A2I) to augment or improve entity predictions. Lastly, we showed you how you can retrain the Comprehend custom entity model with an augmented dataset to improve accuracy using Amazon A2I.
In this chapter, we will talk about how you can use Amazon Comprehend custom classification to classify documents and then how you can set up active learning feedback with your custom classification model using Amazon A2I.
We will be covering the following topics in this chapter:
- Using comprehend custom classification with human in the loop for active learning
- Building the document classification workflow