IDOL Server 24.4
IDOL Server Help

# ClassifierTrain

Train a classifier.

After you have created a classifier, and trained the classes that you want to define, use the `ClassifierTrain` action to train and build the classifier. You must set ClassifierName to the name of the classifier that you want to train.

NOTE: To train a classifier, the classifier must have classes, all of which must have training defined.

In addition, the `ClassifierTrain` action returns an error if none of the training documents contain features (for example, because none of the documents contain the specified classifier FeatureFields).

When you run this action, IDOL Server retrieves the training documents and extracts information from the classifier FeatureFields. It uses these features to train each of the classes in the classifier.

After you have trained the classifier, you can use the ClassifierQuery action to classify documents.

## Example

    http://12.3.4.56:9000/action=ClassifierTrain&ClassifierName=food

This action trains the `food` classifier.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
ClassifierName | The name of the classifier to train.

## Optional Parameters

This action accepts the following standard ACI action parameters.

Parameter | Description
--- | ---
ActionID | A string to use to identify an ACI action.
FileName | The file to write output to.
ForceTemplateRefresh | Forces the server to load the template from disk.
Output | Writes output to a file.
ResponseFormat | The format of the action output.
Template | The template to use for the action output.
TemplateParamCSVs | A list of variables to use for the specified template.

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Server 24.4

Topic Title: ClassifierTrain