|
Aircraft Detection 1.0
|
Functions | |
| void | configureAndRunPythonScript () |
| Configures the Python environment and runs a Python script to generate a precision-recall curve. | |
| void configureAndRunPythonScript | ( | ) |
Configures the Python environment and runs a Python script to generate a precision-recall curve.
This function initializes the Python interpreter, configures the environment to include paths from a specified virtual environment, and executes a Python script. The script reads positive and negative scores from files, calculates the precision and recall, computes the AUC, and plots the precision-recall curve.
The steps are as follows:
sys.path.The Python script:
.sco files.VENV_PATH and the source directory path by SRC_DIR_PATH.