Enable subtree classification for a class
Use the procedure in this topic to enable subtree classification for a class.
Use subtree classification to help differentiate a parent class from its child classes. The relationship between parent and child classes can be as simple as different versions of the same document, but this is not always the case. When classification is run, documents belonging to the parent or its child classes are initially classified as the parent. Subtree classification is performed to determine whether the document belongs a child class instead of the parent class.
It is common for projects that use subtree classification to exclude the parent class as a valid classification result. In many cases, the parent class is collector or category rather than a document type, and the child classes are the actual classification results. During classification, the parent class is not a valid classification result, so a child class is assigned, even if it has a lower confidence than the parent class.
- In the main Transformation Designer window, hide or close any windows that block the Ribbon.
- Open the Project Tree window if it is not already open.
- Expand the Project Tree and select the class.
-
Optional. View the class contents if they are not
already displayed.
The hidden class contents are displayed.
- Open the Details window if it is not already open.
-
On the Class details window, in the
Subtree Classification group, configure the following settings.
Setting
Description
Enable subtree classification
If this setting is selected, and this class is a valid classification result, then a second classification step is started for the complete child class tree using the confidence and distance values defined for the subtree classification. Furthermore, hierarchical rules, such as Single child wins over parent, are applied. This additional step is called subtree classification. (Default: Cleared)
For the purposes of subtree classification, you can set different confidence and distance values. These different values make it possible to get more highly differentiated classification results than would be possible with a single classification step.
Typically, for the first classification step you would use either adaptive feature classification or layout classification. Instruction classification is normally the best choice for subtree classification.
By using subtree classification, you can also combine layout and content classification. This requires classifying a document with the Layout Classifier and activating subtree classification for the class. For the evaluation inside the subtree, only the results from content classification are used. This can help to distinguish between forms that are very similar in layout and therefore needs to be distinguished based on textual content.
Minimum confidence
Available only if the Enable subtree classification setting is selected. Specify the minimum confidence required to run subtree classification. (Default: 40%)
The instructions used for subtree classification should have a lower confidence than the global classification threshold, so they do not influence the first classification step.
Minimum distance
Available only if the Enable subtree classification setting is selected. Specify the minimum distance to make it possible to find a result inside the subtree based on the defined instructions. (Default: 10%)
This distance setting should be lower than the global distance.
Subtree classification via parent class required
Select a class from this list if you want the child class to have a valid classification only if the parent class is classified using subtree classification. (Default: No restriction)
If you use subtree classification along with class-level classification thresholds and a document is assigned to a child class, the configured settings are used to determine whether the classification result is confident or unconfident.
Subtree Classifier
If subtree classification is enabled, the Subtree Classifier is created automatically when the project is trained. If both of the following buttons are disabled, there is no Subtree Classifier for this class.
SeeConfigure the Adaptive Feature Classifier for more information about configuring the subtree classifier.
- Optional. Save your project.
-
Configure other class details,
-
Train your project for classification.
After the project is trained, subtree classifiers are created automatically in the class details of each parent class with subtree classification enabled.
-
Test classification.