# List Classifiers and Classes

To list the classifiers that you have created, and check their status (whether they need training), use the following procedure.

To list classifiers

- Run the action `ListClassifiers`:

      http://localhost:14000/action=ListClassifiers&trainingoptions=TRUE

  Media Server returns a list of classifiers that you have created. For example:

      <autnresponse>
        <action>LISTCLASSIFIERS</action>
        <response>SUCCESS</response>
        <responsedata>
          <classifier>
            <classifier>vehicles</classifier>
            <state>STALE</state>
            <numclasses>3</numclasses>
            <trainingoptions>
              <trainingoption>
                <key>iterations</key>
                <value>2000</value>
              </trainingoption>
            </trainingoptions>
          </classifier>
        </responsedata>
      </autnresponse>

  The `state` element specifies whether the classifier needs training. If this element contains the value "stale", train the classifier using the action `BuildClassifier`. The other possible states are `training`, `trained`, and `failed`.

  The `numclasses` element specifies the number of classes in the classifier.

  If you set the `trainingoptions` parameter to `true`, the response also includes training options that you have set for the classifier.

To list the classes in a classifier

- Run the action `ListClasses`:

      http://localhost:14000/action=ListClasses&classifier=vehicles
                                               &metadata=true
                                               &imagelabels=true

  Media Server returns a list of classes in the specified classifier.

  If you set the action parameter `imagelabels` to `true`, Media Server returns the labels of images associated with each class.

  If you set the action parameter `metadata` to `true`, Media Server returns the metadata you have added to each class.

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

_FT_HTML5_bannerTitle.htm