This script can only be set up for an existing classification training batch. You cannot set it up when creating a new batch.
Set up a classification script
1
Open the project properties
Click Project → Project Properties.
2
Open the Recognition tab
In the project properties window, go to the Recognition tab.
3
Open the classification script editor
In the Classification section, click Set to the right of Use script.
4
Add a classifier
In the dialog box, click Add and choose a classification batch from the list.
5
Set an alias name
Optionally, change the classifier’s Alias Name. The script refers to the name in the Alias Name column, so you do not have to rewrite the script if a classifier’s name changes during processing.
6
Open the script editor
Click Edit Script to open the Script editor window.
Parameters
The following example specifies
IsConfident in page properties:
Classify a page and set the class name
This script classifies pages and adds the name of a class to their properties:Get classification confidence
This script gets classification confidence levels:Combine multiple classifiers for cascade classification
Assign the Unknown class to low-confidence documents
Use this script if your scenario does not require documents with a low confidence level to be assigned a class, even if a class has already been specified for them. An operator should classify such documents manually.For the script to work, create a new class beforehand — for example, “Unknown” — and link it to the document definition in the Class Mapping dialog. For more information, see Mapping classes to Document Definition sections.
The confidence threshold values in this script are for demonstration purposes only. Modify them depending on your workflow.
