Skip to main content

117 docs tagged with "ML model"

View All Tags

Annotators

Annotators help to extract structured information from unstructured

Apply BEP Worker

A Worker is a single instance of a Worker application process started by BEP to process tasks.

AutoML dashboard

Dashboard is out-of-the-box tool in WorkFusion to provide all kinds of analytics including AutoML statistics. It is a convenient and user-friendly way to present model statistics to the customer as well.

AutoML plugins

AutoML plugins allow interacting with AutoML services from Bot Tasks.

Build custom Python model

The recommended best practice is to develop a Python model package as a pure Python project, with tests and so on, and to use it as a dependency in an Archetype-generated project intended for integration with the WorkFusion ecosystem.

Checker model

Note: Checker model should be used by an ML Engineer to improve

Classification

WorkFusion AutoML models provide an ability to automatically classify texts by analyzing its parts (tokens) and their combinations (features).

Compare Search Engines

Search Engine is a framework for optimizing AutoML model parameters. WorkFusion offers three versions of the framework that you can choose from based on your purposes:

Configure model

To make the most of AutoML SDK, use its components together in one configuration. The main hyper model class located at [ModelPackage]/model/[ModelName]Model.java contains a @HypermodelConfiguration annotation with a reference to the AutoML SDK configuration class.

Create and manage templates

Templates provide a way to reuse objects. Almost every object within IA Cloud Enterprise, including Manual Tasks and Business Processes, is based on templates.

Create automation Manual Task

WorkFusion AutoML empowers intelligent automation by enabling Machine Learning models to learn from user answers in Manual Tasks (MT).

Customize Python code

The customization affects the pipeline.py file located on the following path: src/main/python/package/automl/ml/lib//pipeline.py. The file is part of a project template and serves as an entry point for integrating Python models.

Data Analyst job

To understand a Data Analyst's expected contribution to a successful project delivery, let's first outline the context of a cognitive automation implementation.

Data Analyst workflow

A Data Analyst (DA) acts based on several factors originating from the customer's data analysis. The article shares a typical workflow for new DAs.

Data Analyst's checklist

Checklists are helpful as quality control techniques for documenting requirements. They can include a standard set of quality elements to capture the requirements. The purpose of a checklist is to ensure that items defined by the organization or the project team are essential and included in the final requirements or that issues determined by the project team are addressed.

Deploy model

After creating an AutoML project from an Archetype, you can deploy it to a Control Tower instance, even without training.

Deploy Python environment

To set up a custom Python environment in a cluster and enable running a model in it, follow the instructions below.

Develop Python-based models

The main idea is to enable ML engineers to implement specific parts of training and execution pipelines, namely the composer workflow, on the Python side or using other supported platforms and languages. To this end, two extension points were implemented:

Enable AutoML analytics

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

Estimate resources for AutoML execution

This article provides recommendations on how to adjust AutoML Worker parameters, such as CPU and memory consumption, for better cluster utilization and throughput.

Explore Data Analyst tasks

Data Analyst manual is an advanced guide developed to teach the Data Analyst role for projects which use WorkFusion Machine Learning capabilities. Its goal is to give an end-to-end understanding of the qualitative ML Training Set collection. This guide teaches best practices and WorkFusion Center of Excellence (CoE)-approved delivery methods.

Extend AutoML SDK with Python classifiers

You can extend AutoML SDK with a set of Python classifiers based on Scikit-learn, MXNet, and so on. The extension allows using ML algorithms implemented in Python with AutoML pipelines.

Feature engineering

Features) are individual measurable properties or characteristics of data being observed. Selecting relevant features and deciding how to encode them for a training can have a great impact on model results. The process of feature development is known as feature engineering or feature generation. Simply put, it is a process of manually constructing new attributes from raw data. It involves intelligent combining or splitting the existing raw attributes into new ones which have a higher predictive power.

Feature Extractors

A Feature Extractor is an AutoML SDK component that has in-built logic to analyze each Token in a Document and produce a set of independent and

Generate pure Python project

To simplify Python development, an integration was enabled with pure Python projects. You can use the projects to develop custom Python models instead of the mixed Java-Python approach described in the preceding articles of the section.

Get started with AutoML SDK

AutoML SDK is a WorkFusion-built Java framework for creating and customizing Machine Learning models. It is a powerful tool in addressing classification and information extraction use cases.

Grouping models

Grouping is a mechanism, enabling developers to combine existing or new models into one artifact. The main goal is to reduce the number of Workers and minimize the start time on the cluster.

Hybrid models

Hybrid models are an ensemble model type containing the routing logic. They serve the following two purposes:

Identify keywords

Task: Identify or count keywords in documents for rule-based classification or features

Implement custom models

The tutorial walks you through the implementation of the following typical custom models: Information Extraction (IE) and Classification with or without Python support.

Import model customized with AutoML SDK

The section describes how to manually create an Asset Bundle to deploy an old AutoML project. In a new AutoML project, an Asset Bundle is already created as a part of the project immediately after its generation from the Archetype. For more details, refer to Start from Archetype.

Input document characteristics

Typically, a Data Analyst deals with an unspecified variety of documents during the start of Use Case analysis and implementation. To perform a proper analysis of the documents, a Data Analyst has to deeply understand and drive work using following characteristics:

Introduction to AutoML

AutoML is a complex technology requiring a deep understanding of the core concepts behind Machine Learning and automation. The article provides visualizations of the supported automation flow and details typical use cases covered with the AutoML technology.

Labeling requirements

In order to ensure a data set is of high quality, result of labeling (tagging) must be:

Learn ML basics

Machine learning (ML) is a branch of computer science that applies various techniques to enable a computer to learn from data without substantial programming.

Log in to Control Tower

Control Tower is the heart of Intelligent Automation Cloud used for automation. Use Control Tower to perform the following actions:

Manage AutoML models in Control Tower

Control Tower allows users to manage hyper models, associated trained models, and model trainings. To access the capability, log in to Control Tower and, on the main menu, click AutoML.

Manage models

To access a list of available trained models, select AutoML > Trained models. Control Tower updates the list every time you complete a model training, or a new trained model is deployed to your environment.

Manage pipelines

To access a list of available hyper models (artifacts), select AutoML > Hyper models. Control Tower updates the list every time a new hyper model is deployed to your environment.

Merge and split models

You can use a merge and split utility for Information Extraction models trained on different machines or with different fieldsets. The utility requires AutoML SDK version 10.2.4.6 or later.

ML algorithms

The IE case mathematical description contains the following steps.

ML model improvements

Once the first results are received, there is low probability that they will meet all the success criteria without any changes and tuning. More often, some enhancements should be done.

OCR analysis and tuning

The goal of this stage is to achieve acceptable OCR configuration and get understanding of final OCR quality.

OOTB Feature Extractors

The majority of all use case implementations apply a number of common Feature Extractors most of which are reusable. AutoML SDK contains most used Feature Extractors optimized and ready out-of-the-box with AutoML SDK API. These Feature Extractors are intended to cover general use cases without any need to write your own from scratch.

Parser

The first stage of document processing is a Parser: an AutoML SDK component which removes HTML tags from training set documents, and then

Perform Automatic Quality Control

Automatic Quality Control (AutoQC) refers to the use of statistical methods in the monitoring and maintaining the quality of products and services. In the WorkFusion Automation workflow, the AutoQC sub-process chooses a cost-effective combination of automated machines and cloud workers to deliver at or above the acceptable quality level.

Plan infrastructure capacity

A common concern of an enterprise is whether it has enough allocated resources to handle an increase in users or the number of transactions.

Post-processing

Post-Processing is the final stage of the AutoML SDK pipeline performed after the model training. Post-Processing modifies the trained model output to fit the requirements of a customer by applying pre-defined rules. In rare cases, based on a separate ML model.

Post-processing acceleration

Normalizer Search Engine tests different combinations of normalizers for each field to select the optimal chain. The final choice is the most useful and the safest for particular case. This minimizes the practice of designing custom post-processors, so MLE doesn't have to write a post-processor in the majority of the cases.

Prepare for labeling

Goal: Train SMEs to tag the documents properly to ensure high-quality data set and to prepare documents for tagging

Prepare Python

To prepare a distribution bundle for setting up a custom environment in a cluster on an Agent, build Python and fetch dependencies as described below.

Report

Goal: Report ML quality to the customer and communicate poor results, if any, in an accurate yet positive way, and propose further solutions.

Results analysis

Goal: To analyze the results of the ML model and propose ways to improve them.

Retrain model

Model retraining is a mechanism that allows you to easily improve model quality. The basic operations include actual retraining of your model, comparison of statistics of two models, applying the retrained model to the use case, and downloading and uploading the use case training dataset or model.

Review and triage data

Task: Study documents, sort out poor quality documents, identify templates, categories, and questionable documents.

Run AutoML Business Process

After you activate a Cognitive Bot by configuring AutoML in a Manual Task and run the Manual Task, Control Tower automatically launches an instance of the out-of-the-box AutoML Business Process. This BP is auto-created, with the original Manual Task inside it used for those cases when manual processing is still required.

Run experiments

To access a list of ongoing or completed model trainings, select AutoML > Trainings. Control Tower updates the list every time you start a model training.

SMEs onsite training. Best practices and materials

The best practices described are validated on onsite SMEs training with the timeline 1 week, group of 20 Subject Matter Experts and 2 Data Analysts. The Use Case was IE from 10 different document types with complicated cross-document dependencies and integration with third-party systems.

Split pages

Task: Split PDF files that contain multiple documents into separate files.

Statistics

To better understand the model results, AutoML SDK provides comprehensive statistics for further analysis and model tuning.

Test model execution locally

To check the model quality, you can prepare a test set of documents and run execution locally. ModelEvaluationRunner.java contains logic similar to that of the training runner.

Train model locally

A model generated from an Archetype contains a local runner that allows training the configured model. The runner is located at ../run/ModelTrainingRunner.java.

Train SMEs

Goal of the step: Train Subject Matter Experts (SMEs) to provide a high level of tagging accuracy for collecting a quality data set.

Upload data

Task: Upload data from a Data Store in Control Tower or a local CSV file.

View AutoML compatibility matrix

WorkFusion supports software versions as long as it is possible without hindering the development of new features and applying cutting-edge technologies. When upgrading to the latest version of IA Cloud, make sure it is compatible with your current AutoML Server and AutoML SDK version.

View ML Engineer tasks

The Machine Learning Engineer (ML Engineer) is one of the most technically skilled roles. The ML Engineer background includes a variety of completed end-to-end Java-based projects and a wide experience in creating business applications, rolling out to production, and dealing with environment challenges.