Figure 5. Development, tuning, internal validation, and external validation set generation and ECG labeling of VHD. Schematic of the dataset creation and analysis strategy, which was devised to assure a robust and reliable dataset for training, validating, and testing of the network. Once a patient’s data were placed in one of the datasets, that individual’s data were used only in that set, avoiding ‘cross-contamination’ among the training, validation, and test datasets. The details of the flow chart and how each of the datasets was used are described in the Methods.