Fig. 2: ROC curve for the Clinical-Longformer model.

Left—ROC curve for the Clinical-Longformer model with a threshold at 0.18, which favors precision. Right—violin and bubble plots of test set patients, with the Y-axis showing normalized prediction scores. Bubbles are color-coded by patient ethnic identification. The test (shown) and train sets do not reflect the true distribution of demographics among all violent patients and should not be interpreted as such.