Document Understanding classifer Question

Urgent need keyword based classifier and keyword classifier trainer json should be same or different ?

Hi @Ritaman_Baral
Different

  1. Keyword Classifier Trainer (keyword_classifier_trainer.json):This JSON configuration file is used to train the keyword-based classifier. It contains information about the categories (labels) you want to classify, as well as the keywords associated with each category. The keywords help the classifier learn how to categorize new input data.

  2. Keyword Classifier (keyword_classifier.json):This JSON configuration file is used by the keyword-based classifier activity to perform classification. It contains the information learned from the training process, including the categories and keywords. You use this file to configure the keyword-based classifier activity for classifying new data.

Hi @Ritaman_Baral

Keyword Classifier Trainer JSON: This is where you define your training data, keywords, and their corresponding classifications. It’s used to train the classifier to recognize patterns and associations between keywords and classifications.

Keyword-based Classifier: Once you’ve trained your keyword classifier using the trainer JSON, it becomes a model that can be used to classify new data. The keyword-based classifier takes input data and compares it against the patterns and associations learned during training to predict the appropriate classification.

the json should be same or different ?

the json should be same or different ???

Json file should be Different

Hi @Ritaman_Baral ,

I believe the Json File reference should be the same.

As we are also going to use that file itself for Training the Classifier and use that Trained classifier data(json) again, it should be the same.

We could also check the Document Understanding Framework on how the file references are being taken into place by analysing the use of the Trainer Json files.

H!

If your keyword-based classifier and the keyword classifier trainer both rely on the same set of keywords and categories, you might use the same JSON file to define these keywords and categories.

JSON file includes not only the keywords but also additional information specific to the training process (training data format, etc.), while the classifier JSON file includes only the keywords and categories needed for classification, then they could be different

Cheers @Ritaman_Baral

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.