Media Server 12.13

# GetClassifierSnapshotStatistics

Returns statistics about the performance of a classifier snapshot.

Snapshots are generated automatically during training, but only when you enable them. For more information about snapshots, refer to the Media Server Administration Guide and the documentation for the action SetClassifierTrainingOption.

Before attempting to view statistics, you must generate the statistics by running the action TestClassifierSnapshot.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`classifier` | The name of the classifier. | Yes

## Example

    /action=GetClassifierSnapshotStatistics&classifier=vehicles

## Response

The response includes statistics for one or more snapshots.

    <autnresponse>
        <action>GETCLASSIFIERSNAPSHOTSTATISTICS</action>
        <response>SUCCESS</response>
        <responsedata>
            <snapshot>
                <snapshotindex>0</snapshotindex>
                <overallstatistics>
                    <f1score>0.81</f1score>
                    <precision>0.87</precision>
                    <recall>0.75</recall>
                </overallstatistics>
                <classstatistics>
                    <class>
                        <identifier>car</identifier>
                        <f1score>0.86</f1score>
                        <precision>0.79</precision>
                        <recall>0.95</recall>
                    </class>
                    <class>
                        <identifier>van</identifier>
                        <f1score>0.72</f1score>
                        <precision>0.61</precision>
                        <recall>0.88</recall>
                    </class>
                    <class>
                        <identifier>motorcycle</identifier>
                        <f1score>0.93</f1score>
                        <precision>0.96</precision>
                        <recall>0.91</recall>
                    </class>
                </classstatistics>
            </snapshot>
            <snapshot>
                <snapshotindex>1</snapshotindex>
                ...
                ...
            </snapshot>
            <snapshot>
                <snapshotindex>2</snapshotindex>
                ...
                ...
            </snapshot>
        </responsedata>
    </autnresponse>

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Media Server 12.13

Topic Title: GetClassifierSnapshotStatistics