Run cognitive Business Process
Control Tower comes with two default use cases for Classification and Information Extraction tasks. These use cases can be used as examples for cognitive automation setup.
Below, you can find a step-by-step instruction on how to set up and run default use cases with automation.
The instruction can be used as an integration test for the cognitive automation setup check.
Check assets
Before creating automated Manual Tasks and Processes, you need to check that your Control Tower has all the Training Sets and Use Cases needed for Cognitive automation.
Training Sets
Go to the Main menu (left sidebar) > Campaigns > Automation Training Sets and check that Training Sets with the following names exist:
classification_cognitive_automation_training_set_<wf_version>ie_cognitive_automation_training_set_<wf_version>

Data Stores
Go to the Main menu (left sidebar) > Campaigns > Data Stores.
Download the following Data Stores as CSV files:
classification_cognitive_automation_input_data_<wf_version>ie_cognitive_automation_input_data_<wf_version>
These CSV files are used as input data for Manual Task and Cognitive BP.

Use Cases
Go to the Main menu (left sidebar) > Configuration > Use Cases.
On the Business Process tab, check that the following Use Case is
present: Cognitive Automation Business Process <wf_version>

On the Manual tab, check that the following Use Cases are present:
IE Cognitive Automation Task <wf_version>Classification Cognitive Automation Task <wf_version>

Hypermodels on S3
Open the S3 (cloud or on-premise) > the vds-models bucket.
Check that the following folders contain hypermodels with appropriate version (subfolders):
presentation-company-classification-modelpresentation-information-extraction

Test cognitive automation
If all assets are available, you are ready to create a Manual Task, start model training, and extraction.
The guide shows the Classification use case example, but you can also use the Information Extraction (IE) example – just select appropriate Use Case, Hypermodel, and Training Set.
Create Manual Task
Go to Manual Tasks > Create Manual Task.
Select Cognitive Automation Use Cases > Classification Cognitive Automation Task <wf_version>.

Click Select this Use Case.
On the Data tab, click Upload Data, and select a CSV file downloaded from the
classification_cognitive_automation_input_data_<wf_version>Data Store.
On the Run tab, click Advanced Options > the Automation tab:

- Select an ML Model:
Presentation Company Classification - Select a BP Use Case:
Cognitive Automation Business Process <wf_version> - Select a Training Set:
classification_cognitive_automation_training_set_<wf_version>
The resulting page looks like this one:

- Reset the Training Set by clicking the arrow icon and Reset Data Status.

Confirm by clicking Reset.

- Click OK and save the Task.
- Select an ML Model:
Start Training Process
Now, you are ready to start the Training process:
On the Run tab, click Run This Task.
In the Actions dropdown, click Stop.
In the Actions dropdown, click Evaluate Automation > Continue.
Go to List of BPs, select the Automation Training filter and check that Automation BP was created and training was started.

The training BP should have records that passed the Training branch.

(Optional) Check Mesos for
message_**jobs present for the vds user.Go to View All Manual Tasks:
- Your Task should have the AUTOMATION EVALUATION label.

- Wait until the training is finished (~10 minutes for classification). Your task should have the AUTOMATION AVAILABLE label.

Set up Automation Chart
Click the AUTOMATION AVAILABLE label. You are redirected to the Automation tab.

Set the Accuracy Threshold.
Click the Apply Recommendation button. You are redirected to the Cognitive Business Process creation wizard.
Run Cognitive Business Process
Upload the same input data CSV downloaded from the
classification_cognitive_automation_input_data_<wf_version>Data Store. You can also use the CSV file downloaded from theclassification_cognitive_automation_training_set_<wf_version>Training Set, but this requires more time for extraction.Run the Cognitive Automation BP.
Check the BP Results. Record(s) should pass the Extract step.
- BP Design tab:

- Results > Data:
