Phoenix Newsletter - October 2025 President’s Message: Enduring Commitments in a Time of Change Read President’s Message: Enduring Commitments in a Time of Change
Home Research Research Library Using Machine Learning to Predict Primary Care and Advance Workforce Research Using Machine Learning to Predict Primary Care and Advance Workforce Research 2020 Author(s) Wingrove, Peter M, Liaw, Winston R, Weiss, Jeremy, Petterson, Stephen M, Maier, John, and Bazemore, Andrew W Topic(s) Role of Primary Care Volume Annals of Family Medicine Source Annals of Family Medicine PURPOSE To develop and test a machine-learning–based model to predict primary care and other specialties using Medicare claims data. METHODS We used 2014-2016 prescription and procedure Medicare data to train 3 sets of random forest classifiers (prescription only, procedure only, and combined) to predict specialty. Self-reported specialties were condensed to 27 categories. Physicians were assigned to testing and training cohorts, and random forest models were trained and then applied to 2014-2016 data sets for the testing cohort to generate a series of specialty predictions. Comparing the predicted specialty to self-report, we assessed performance with F1 scores and area under the receiver operating characteristic curve (AUROC) values. RESULTS A total of 564,986 physicians were included. The combined model had a greater aggregate (macro) F1 score (0.876) than the prescription-only (0.745; P <.01) or procedure-only (0.821; P <.01) model. Mean F1 scores across specialties in the combined model ranged from 0.533 to 0.987. The mean F1 score was 0.920 for primary care. The mean AUROC value for the combined model was 0.992, with values ranging from 0.982 to 0.999. The AUROC value for primary care was 0.982. CONCLUSIONS This novel approach showed high performance and provides a near real-time assessment of current primary care practice. These findings have important implications for primary care workforce research in the absence of accurate data. ABFM Research Read all 2022 Competencies for the Use of Artificial Intelligence in Primary Care Go to Competencies for the Use of Artificial Intelligence in Primary Care 2023 Foundational Collective Actions for Achieving Agile High-Quality Primary Care in the United States Go to Foundational Collective Actions for Achieving Agile High-Quality Primary Care in the United States 2025 The impact of the COVID-19 pandemic on vaccinations in United States primary care practices Go to The impact of the COVID-19 pandemic on vaccinations in United States primary care practices 2013 Factors influencing family physician adoption of electronic health records (EHRs) Go to Factors influencing family physician adoption of electronic health records (EHRs)
Author(s) Wingrove, Peter M, Liaw, Winston R, Weiss, Jeremy, Petterson, Stephen M, Maier, John, and Bazemore, Andrew W Topic(s) Role of Primary Care Volume Annals of Family Medicine Source Annals of Family Medicine
ABFM Research Read all 2022 Competencies for the Use of Artificial Intelligence in Primary Care Go to Competencies for the Use of Artificial Intelligence in Primary Care 2023 Foundational Collective Actions for Achieving Agile High-Quality Primary Care in the United States Go to Foundational Collective Actions for Achieving Agile High-Quality Primary Care in the United States 2025 The impact of the COVID-19 pandemic on vaccinations in United States primary care practices Go to The impact of the COVID-19 pandemic on vaccinations in United States primary care practices 2013 Factors influencing family physician adoption of electronic health records (EHRs) Go to Factors influencing family physician adoption of electronic health records (EHRs)
2022 Competencies for the Use of Artificial Intelligence in Primary Care Go to Competencies for the Use of Artificial Intelligence in Primary Care
2023 Foundational Collective Actions for Achieving Agile High-Quality Primary Care in the United States Go to Foundational Collective Actions for Achieving Agile High-Quality Primary Care in the United States
2025 The impact of the COVID-19 pandemic on vaccinations in United States primary care practices Go to The impact of the COVID-19 pandemic on vaccinations in United States primary care practices
2013 Factors influencing family physician adoption of electronic health records (EHRs) Go to Factors influencing family physician adoption of electronic health records (EHRs)