Media Server 26.1
Media Server Help

# TestClassifierSnapshot

Evaluates the performance of a classifier snapshot using training images that were set aside for evaluation purposes.

To use this action, you must have enabled snapshots and you must have built the classifier. For more information about snapshots, see Create and Train a Classifier and the documentation for the action SetClassifierTrainingOption.

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`classifier` | The name of the classifier. | Yes
`gpudeviceid` | The device ID of the GPU to use, if you have enabled GPU acceleration and want to override the value of the GPUDeviceID configuration parameter. You can also set this parameter to `CPU`, to disable GPU acceleration for this action and use the CPU instead. | No
`snapshotindex` | The index number of the snapshot to test. To view available snapshots, use the ListClassifiers action. | Yes

## Example

    /action=TestClassifierSnapshot&classifier=vehicles&snapshotindex=0

## Response

This action is asynchronous, so Media Server always returns success accompanied by a token. You can use this token with the QueueInfo action to retrieve the status of your request.

After the action has finished, you can obtain the results of the test through the action GetClassifierSnapshotStatistics. You can then select the snapshot to use by running the action SelectClassifierSnapshot.

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

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: Knowledge Discovery Media Server 26.1

Topic Title: TestClassifierSnapshot