Machine Learning Classifier - Other latest
Banner background image
Document Understanding Activities
Last updated Feb 20, 2024

Machine Learning Classifier


Enables data classification from documents using document classification ML models provided by UiPath. The Machine Learning Classifier activity can work by default with Invoices, Purchase Orders, Receipts, and Utility Bills. This activity can be used only within the Classify Document Scope activity.


  • DisplayName - The display name of the activity.
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • ApiKey - The API key used to provide you access to the Machine Learning Classifier. The API Key field is automatically pre-populated if defined in local project settings or in the Document Understanding framework. If you want to add the API Key manually, here you can find information about retrieving the API Key.
  • Endpoint - Provide the public ML Skill URL from the AI Center service. An Endpoint is required for on-premises or different Orchestrator instance scenarios. Choose only Endpoint or ML Skills, not both.
  • MLSkill - Provides the MLSkills list available in the AI Center service. Choose the ML Skill hosting the document classification machine learning model. The ML Skill is the only available option when you connect the robot to the AI Center through the same Orchestrator instance.
  • RetryOnFailure - Automatically retries the machine learning model execution, to eliminate transient network errors. If checked, the activity retries the execution.
  • Timeout (milliseconds) - Specifies the amount of time (in milliseconds) to wait for a response from the server before an error is thrown. The default value is 100000 milliseconds (100 seconds).

    Note: When an endpoint is added, the dropdown button of the ML Skill option is disabled and this message is displayed "The activity works with either an Endpoint or an ML Skill, not both. Enter an Endpoint and leave ML Skill empty, or select an ML Skill and leave Endpoint empty".

Using the Machine Learning Classifier Wizard

  1. In the Machine Learning Classifier wizard that automatically opens, provide the ML Skill and the ApiKey information.

    Note: Machine Learning Classifier only works with Machine Learning Classifier Skills. Using any other Skills (receipts, invoices, etc.) with it, will result in an error.
  2. Select the checkbox for the Update activity arguments if you wish to also use the entered values as input arguments for the activity, more precisely for the ML Skill.
  3. Click the Get Capabilities button. The wizard closes after this operation.
  4. Select the Configure Extractors option in the Data Extraction Scope. A wizard is displayed.

  5. Match Document Type names used in Taxonomy to classification classes used by the ML Skill. The latter can be obtained very easily by using Get Capabilities either by configuring it when you first drop the activity or by clicking on the gear icon and then simply selecting the class names from the dropdown. Selecting one of the options from a dropdown list automatically confirms that field.

  6. Select the Save button once all fields are configured properly.

    Important: You cannot choose the same option for two distinct fields.
Document Understanding Integration

The Machine Learning Classifier activity is part of the Document Understanding Solutions. Visit the Document Understanding Guide for more information.

  • Properties
  • Using the Machine Learning Classifier Wizard
Support and Services icon
Get The Help You Need
UiPath Academy icon
Learning RPA - Automation Courses
UiPath Forum icon
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.