IDOL Category Component 24.4
IDOL Category Component Help

# ClassifierSetClassTraining

Train a class in a classifier.

After you have created a class, you can use this action to train or retrain it. If the class has existing training, the new training overwrites the old training.

You must set ClassifierName to the name of the classifier, and ClassName to the name of the class that you want to train. To train the class, you must set StateID to the ID of a state token that lists the documents that you want to use to train the class. When you train the classifier, by using the ClassifierTrain action, IDOL Category Component retrieves the documents in the state token, and extracts the classifier feature fields to train the class.

## Example

    http://12.3.4.56:9020/action=ClassifierSetClassTraining&ClassifierName=food&ClassName=vegetable&StateID=B8UGIK95FKJG-23

This action trains the `vegetable` class in the `food` classifier with the documents listed in the state token `B8UGIK95FKJG-23`.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
ClassifierName | The name of the classifier to update.
ClassName | The name of the class to train.
StateID | A state token that defines the documents that you want to use to train the class.

## 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 IDOL Category Component 24.4

Topic Title: ClassifierSetClassTraining