Skip to main content
[Preprint]. 2024 Nov 1:2024.10.31.621379. [Version 1] doi: 10.1101/2024.10.31.621379

Figure 1. Flowchart of the support vector machine (SVM) model construction.

Figure 1.

The dataset was split in two groups: Aligned (participants with sex/gender alignment) and unaligned (participants with sex/gender unalignment). The aligned group was split in an aligned training group (80%) and an aligned hold-out testing group (20%). A nested five-fold cross-validation (5F-CV) was employed, with the inner 5F-CV determining the optimal parameter C and the outer 5F-CV estimating the generalizability of the model. The final, optimal model was subsequently applied in the held-out aligned testing group and the unaligned group and model performance was evaluated. The forward slash in the groupings denotes the different possible group splits (e.g. The aligned training group was split in four test/train group pairs with 327/1903 subjects and one test/train group pair with 328/1308 subjects).