Install the Classification Precision and Recall Server
- Last Updated: May 13, 2026
- 2 minute read
- Semaphore
- Documentation
Note: Before installing, see Requirements software prerequisites or required technical specifications for Semaphore.
The Precision and Recall Server is a tool that allows users to assess the quality of their classification. When the Precision and Classification Server is enabled, you send a set of control documents along with a spreadsheet containing the expected the results to the Classification Service. The Precision and Recall Server returns a spreadsheet that provides detailed information about the quality of the classification, including differences between the expected and returned results. For general information about the Classification and Recall Server, refer to Semaphore Classification Precision and Recall Server.
If required, install the Classification Precision and Recall Server by executing the following command:
yum install Semaphore-CLS-PandR-Server-<Version>.noarch.rpm
The installer creates a service called semaphore-pr. After installing, start this service executing the following command:
systemctl start semaphore-pr
Configuration
By default, the Precision and Recall Server attempts to use the Classification Server instance on the same server as itself and using the default port (http://localhost:5058). However, you can change the default location by using the enabling overrides in the start.sh file and by specifying the new location using SEM_PR_CS_URL environment variable.
To enable the override the default location of the Classification Server, first add the following entry to /opt/semaphore/pr/bin/start.sh:
export "SEM_PR_ALLOW_CS_URL_OVERRIDE=true"
After the file has been updated, set the environment variable SEM_PR_CS_URL to specify the new URL.
However, if the new URL is inside the Semaphore Cloud and the Classification Precision and Recall Server is outside of it, you must also set the environment variable SEM_CLOUD_TOKEN to specify the cloud API Key, which you can find in the Basic API Information panel on your cloud instance. In some rare circumstances, you might also need to set the value for the SEM_CLOUD_TOKEN_GENERATION_URL.
Restart the semaphore-pr service for your changes to take effect:
systemctl start semaphore-pr