IDOL Category Component 24.4
IDOL Category Component Help

# ClassifierCreate

Create a classifier to use to classify documents.

Classifiers allow you to categorize documents by using the random forest algorithm. Each classifier defines a set of classes, which you must create and train with relevant data. You can then use the classifier to assign documents to the most relevant class.

When you send the `ClassifierCreate` action, you must set ClassifierName to a unique name for the new classifier, and set ClassifierType to the type of classifier (`RandomForest`). You must also set the FeatureFields parameter to a comma-separated list of fields from your training documents that contain the text that you want to use to classify your documents.

After you create the classifier, you must create and train classes by using the ClassifierAddClass action. You then train and build the classifier by using the ClassifierTrain action. After you have trained the classifier, you can use the ClassifierQuery action to classify documents.

## Example

    http://12.3.4.56:9020/action=ClassifierCreate&ClassifierType=RandomForest&ClassifierName=food&FeatureFields=ingredient,flavor,accompaniments,meal

This action creates a random forest classifier with the name `food`. The classifier uses features in the `ingredient`, `flavor`, `accompaniments`, and `meal` fields to classify documents.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
ClassifierName | The name of the classifier to create.
ClassifierType | The type of classifier to create.
FeatureFields | The document fields to use as features in the classifier.

## 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: ClassifierCreate