IDOL Category Component 24.2

# ClassifierAddClass

Create a class in a specified classifier.

A class represents one of the categories that you want to use to classify documents. For example, if you have a food classifier, you might have classes for vegetable, fruit, and meat.

When you create a class, you must set ClassifierName to the name of the classifier that you want to add the class to. You must also set ClassName to the name of the class that you want to add. You can optionally set StateID to specify a query state token that defines training documents for the class. Alternatively, you can train the class later by using the ClassifierSetClassTraining action.

## Example

    http://12.3.4.56:9020/action=ClassifierAddClass&ClassifierName=food&ClassName=vegetable

This action creates a `vegetable` class in the classifier with the name `food`.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
ClassifierName | The name of the classifier to update with the new classes.
ClassName | The name of the class to add.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
StateID | A state token that defines the documents that you want to use to train the new class.

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.2 | Last updated March 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.2

Topic Title: ClassifierAddClass