Skip to main content
Version: 10.2.8

Retrain IE Cognitive Bot ML model

Below are triggers for AutoML to start training a machine learning (ML) model:

  • A Manual Task is completed.
  • The Min docs limit is reached. The limit depends on the selected ML model and is about 20 documents. This means that once workers submit 20 tasks in WorkSpace, the model training starts.
  • The Min delta limit is reached—the number of new documents to retrain the model. Once the training set is updated with the required number of documents, retraining starts automatically.
  • Force training means applying the Evaluate Automation action notwithstanding the limitations.

Run Manual Task

When you have set up a Manual Task (MT) and automation options, run the task to launch the model training process:

  1. In the MT, navigate to the Run tab and click Run This Task.
  2. Navigate to the Results tab.

Now, you have two options:

  • If you selected an existing training set on the previous step, stop the task by selecting Actions > Stop Task.

  • If you have a new training set, submit all documents as a worker in the WorkSpace application.

As a result, the task is completed, and the ML model training starts.

Create training set

After workers finish tasks in WorkSpace, all processed documents supplement a training set for the model. Manually processed documents are added to an automatically created training set in the following cases:

  • A model was trained on a task or instance other than the one where the model execution was initiated. Once a worker processes at least one document and the task status is Completed, a training set is created automatically with processed documents.
  • A model was trained on the task, and the training set used for the model training was added manually, with model execution initiated for the same task. Once a worker processes at least one document and the task status is Completed, a training set is created automatically with processed documents.
  • A task is created by copying a task from one of two previous cases without changing the task name.

The automatically created training set has the same name as the MT definition name with the following changes:

  • Uppercase is changed to lowercase.
  • Special characters are removed.
  • Spaces are substituted with underscores.

To view the retraining status, go to the View All Tasks page.

  • When the Automation training starts, you see the Automation Evaluation label next to your MT.

  • When the Automation training completes, you see the Automation Available label next to your MT.

To find the automatically created training set, go to Configure AutoML > Train new model > Training set.

Retrain model

An ML model is constantly improving the quality and continues training on all answers provided in the manual steps (when the machine fails to extract information or during the AutoQC subprocess).

When a new retrained model provides better results than the original one, you see the Cognitive Bot Ready label on the View All Tasks page.

To automate your manual task with improved quality, do as follows:

  1. Go to Results > AutoML. You will see a new Automation chart with better parameters (for example, increased Automation rate for the same Minimal acceptable accuracy).

  2. Pick a dot on the chart or select the Accuracy Threshold.

    • Accuracy Threshold: the minimum accuracy required from the automatically extracted data. The parameter determines the quality of the output data and is calculated by ML model algorithms after comparing it with gold data patterns.
    • Automation Rate: the percent of Records that can be extracted automatically with the given minimal acceptable accuracy, or percent of Manual Tasks replaced by automation.
  3. (Optional) Enable or disable ML model switching by selecting Switch models automatically.

  4. Click Apply Recommendation.

  5. The automation Business Process creation wizard opens. Configure and rerun the AutoML Business Process.