Coded data only | Codes and keywords | |||||
Logistic regression | Random forest | Naive Bayes | Logistic regression | Random forest | Naïve Bayes | |
Alzheimer’s medication | 0.727 | 0.354 | 0.912 | 0.676 | 0.339 | 0.912 |
Cognitive decline | 0.378 | 0.066 | 0.888 | 0.260 | 0.061 | 0.880 |
Cognitive screening test | 0.025 | 0.006 | 0.997 | 0.076 | 0.010 | 0.997 |
Dementia annual review | 1 | 0.845 | 0.957 | 0.917 | 0.888 | 0.957 |
Memory loss codes | 0.622 | 1 | 0.593 | 0.456 | 0.964 | 0.593 |
MMSE | 0.344 | 0.187 | 0.729 | 0.199 | 0.157 | 0.729 |
Referral to memory assessment | 0.312 | 0.049 | 1 | 0.143 | 0.033 | 1 |
Referral to psychiatrist, neurologist or geriatrician | 0.345 | 0.292 | 0.509 | 0.248 | 0.210 | 0.509 |
Keyword dementia | – | – | – | 0.494 | 0.975 | 0.473 |
Keyword memory | – | – | – | 0.251 | 1 | 0.422 |
Keyword confusion | – | – | – | 0.238 | 0.444 | 0.363 |
Keyword behaviour | – | – | – | 0.037 | 0.091 | 0.520 |
Keyword cognition | – | – | – | 0.031 | 0.078 | 0.515 |
Keyword family | – | – | – | 0.158 | 0.079 | 0.113 |
Keyword MMSE | – | – | – | 0.019 | 0.119 | 0.515 |
Keyword forget | – | – | – | 0.051 | 0.087 | 0.439 |
Keyword third party consultation | – | – | – | 1 | 0.200 | 0.544 |
MMSE, Mini-Mental State Examination.