Skip to main content

Table 2 Description and performance of final random forest model to identify PFO patients

From: Developing a random forest algorithm to identify patent foramen ovale and atrial septal defects in Ontario administrative databases

Model

Description

Accuracy

Sensitivity

Specificity

Test

Train

Test

Train

Test

Train

7

Demographics

Ā Ā Ā Ā Age group

Ā Ā Ā Ā Sex

Comorbidity flags (<ā€‰5Ā years)

Ā Ā Ā Ā AF

Ā Ā Ā Ā CAD

Ā Ā Ā Ā CHF

Ā Ā Ā Ā COPD

Ā Ā Ā Ā DM

Ā Ā Ā Ā HTN

Ā Ā Migraine

Ā Ā Other CHD admissions

Ā Ā Emb.*

Stroke/TIA

Ā Ā Number of eventsā€‰<ā€‰5Ā years prior to closure

Ā Ā Ā Ischemic stroke

Ā Ā Ā Hemorrhagic stroke

Ā Ā Ā TIA

Intervention codes

Ā Ā Top 10 (yes/no)

Charlson comorbidity index

0.946

0.756

0.908

0.657

0.978

0.848

7 (tuned)

Same variables as model 7 (above), but with hyperparameters tuned:

mtryā€‰=ā€‰3

Classification threshold cut-offā€‰=ā€‰0.38,0.62

0.918

0.757

0.896

0.751

0.936

0.763

  1. *Emb. peripheral arterial embolism, pulmonary embolism, or deep vein thrombosis