Open topic with navigation

# View and Administer Classifiers

After you have set up classification, you can list and view classifiers, retrain classes, and delete classes and classifiers.

## List and View Classifiers

The `ClassifierList` and `ClassifierGetInfo` actions allow you to view information about the classifiers you have created. `ClassifierList` returns information for all classifiers, and `ClassifierGetInfo` returns information for a single classifier that you specify. Both actions return the number of classes in the classifier, the feature fields that the classifier uses, and whether the classifier has been trained.

For example:

    action=ClassifierList

This action returns the names of all your classifiers, and the information for each classifier.

    action=ClassifierGetInfo&ClassifierName=food

This action returns information for the `food` classifier.

## Retrain a Class

You can change the training documents associated with a class in a classifier by using the `ClassifierSetClassTraining` action. This action overwrites any existing training for the class with the new training. After you retrain a class, you must retrain the classifier.

To retrain a classifier

1. Send the `ClassifierSetClassTraining` action with the following parameters:

   - `ClassifierName` set to the name of the classifier.
   - `ClassName` set to the name of the class to retrain.
   - `StateID` set to a state token that lists the documents that you want to use to train the class.

   For example:

       action=ClassifierSetClassTraining&ClassifierName=food&ClassName=vegetarian&StateID=G7KPID13APWM-15

   This action updates the training for the `vegetarian` class in the `food` classifier to use the documents listed in the state token `G7KPID13APWM-15`.

2. Send a `ClassifierTrain` action to IDOL Server, with the `ClassifierName` parameter set to the name of the classifier.

   For example:

       action=ClassifierTrain&ClassifierName=food

   This action trains the `food` classifier, and updates the training for the retrained classes.

## Delete a Class

You can delete a class from a classifier by using the `ClassifierDeleteClass` action. After you send this action, IDOL Server automatically retrains the classifier.

For example:

    action=ClassifierDeleteClass&ClassifierName=food&ClassName=vegetarian

This action deletes the `vegetarian` class from the `food` classifier and retrains the classifier.

## Delete a Classifier

You can delete a classifier that you no longer need by using the `ClassifierDelete` action. This action deletes the classifier and all associated classes.

For example:

    action=ClassifierDelete&ClassifierName=food

This action deletes the `food` classifier.

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm