Skip to main content
Version: 10.2.8

Enable AutoML analytics

The topic describes how to enable legacy Tableau-based analytics to collect and visualize model data using an out-of-the-box (OOTB) AutoML Business Process (BP).

OOTB AutoML Business Process

The figure below illustrates a sample OOTB AutoML Business Process.

Analytics in an OOTB AutoML BP allows you to collect and rate model predictions and AutoML performance against human answers and performance.

If AutoML Analytics is enabled, you have two options:

  • Input is raw data without answers. In this case, the document goes through the Straight Through Processing (STP) or Exception pipeline, and you get real-time Analytics.

  • Input is a tagged document containing answers for a given Manual Task—that means a reference document to compare with the Manual Task. In this case, processing is in the Evaluation mode. All human work is omitted because answers are already there. In the Evaluation mode, model answers are compared with the reference answers in the Analytics step.

Enabling AutoML Analytics

To enable storing data for further analysis, follow these steps:

  1. On the Business Processes page, click the BP where you want to enable Analytics.

  2. On the Workflow tab, double-click Work router.

  3. In the Analytics section, select Enabled and click Save.

This setting is applied to each AutoML BP created for a given Operation.

Predictions in daily model execution

When Analytics is enabled, the AutoML BP collects comparison information for model predictions against human answers:

  • If a processed document goes through the Exception: bot assisted or Exception: fully manual branch, model answers are compared against human answers.
  • If a processed document goes through the Straight through processing (STP) branch, model answers are compared against themselves.

Collected data usage

Comparison data is saved in a Data Store with a name matching the following pattern: automationstat[bp_campaign_uuid].

The _bp_campaign_uuid part stands for the _sys_bp_campaign_uuid_ field after the Machine Learning sub-process with the following replacement: [^\w] with an _ underscore.

The Data Store has the following structure by column names:

ColumnDescriptionData typeAggregation
run_uuidCurrent BP instance UUID.TEXT
field_nameAnswer code.TEXTPer field in document
group_nameGroup name if field_name relates to a group.TEXTPer field in document
extracted_valueModel answer, if any.TEXTPer field in document
TPMetric for a given answer code: True Positive.

INTEGER is used because BOOLEAN is not supported by Data Store plugins.

INTEGERPer field in document
TNMetric for a given answer code: True Negativ.

INTEGER is used because BOOLEAN is not supported by Data Store plugins.

INTEGERPer field in document
FPMetric for a given answer code: False Positive.

INTEGER is used because BOOLEAN is not supported by Data Store plugins.

INTEGERPer field in document
FNMetric for a given answer code: False Negative.

INTEGER is used because BOOLEAN is not supported by Data Store plugins.

INTEGERPer field in document
scoreModel answer metric: score for a given answer code.

TEXT is used because DECIMAL is not supported by Data Store plugins.

TEXTPer field in document
document_idEquals to hitUUID.TEXTPer document
doc_html_link_taggedEmpty by default.TEXTPer document
timestampRecord insert timestamp.TIMESTAMPPer document
environmentWorkspace environment type: production.TEXTPer document
ml_process_timeProcess time of the automation-extract plugin (post to ML service + ML extract + so on), in milliseconds. Note: the automation-extract plugin is deprecated.INTEGERPer document
human_process_timeSpent human time, in milliseconds. In case of multiple workers, total time spent.INTEGERPer document
human_process_typeType of human work:
  • FULLY_MANUAL: Manual Task without ML answer assistance.
  • BOT_ASSISTED: Manual Task with ML answer assistance.
  • EXPIRED: Manual Task is not processed and overdue.

Collected data is used to build the Volume chart.

TEXTPer document