Skip to main content
  • Using Natural Language Processing in Outcomes Modeling: A Text-Based Model Predicts Non-Home Discharge After Meningioma Surgery with Greater Discrimination Than a Model with 57 Discretely Collected Cl

    Final Number:

    Whitney Muhlestein; Lola Blackwell Chambless MD

    Study Design:

    Subject Category:

    Meeting: Congress of Neurological Surgeons 2018 Annual Meeting

    Introduction: Building databases for predictive modeling is time and resource-intensive. Here, we use natural language processing (NLP) and machine learning (ML) to predict non-home discharge after craniotomy for meningioma from the text of preoperative notes and radiology reports. The NLP model outperforms a model built from 57 variables thought to be clinically relevant.

    Methods: We built a database of 597 patients surgically treated for meningioma at our institution between 1995 and 2015. Age, sex, and number surgery, and text from the preoperative note and radiology report was collected for each patient. 57 total preoperative variables were collected in a second database. Text was represented via transverse frequency-inverse document frequency and used to create a linear model to predict operative time from the text alone, with the predictions acting as a feature in final model training, or used as features directly. 32 ML algorithms were trained to predict non-home discharge and the top performing algorithms combined to form an ensemble model. Area under the curve (AUC) was calculated for the NLP and 57-variable ensembles to compare discriminative ability, and word clouds generated to visualize which words best predict non-home discharge.

    Results: The NLP model predicted non-home discharge with an AUC of 0.80 and 0.76 on internal and external validation, while the 57-variable model had an AUC of 0.77 and 0.74. Text in the preoperative note that predict non-home discharge include: “progressive,” “large,” and “decline.” Text in the preoperative radiology report that predict with non-home discharge include: “large,” “edema,” and “effacement.”

    Conclusions: A NLP model outperforms a model requiring the collection of 57 discreet variables. Using free text as a primary data source for outcomes modeling may allow researchers to build predictive models more efficiently and at less cost, while also reducing bias inherent to databases with pre-selected variables.

    Patient Care: Predicting patient outcomes is critically important in medicine as accurate predictions can guide, for instance, which interventions will benefit which patients and help us to modify our clinical decision-making to improve the care we deliver. For example, high predicted risk of post-surgical complication may cause a clinician to consider, or empower a clinician to recommend, more conservative approaches. Patient-specific risk assessments also give patients the opportunity to provide truly informed consent before procedures. Free text represents an abundant but underutilized source of data in the electronic medical record. Advanced computer programing technologies, including natural language processing, can be utilized to harness these rich sources of data to improve outcomes predictions.

    Learning Objectives: By the conclusion of the session, participants should be able to: (1) Demonstrate how natural language processing can be used to harness underutilized data sources in the EMR. (2) Recognize that unstructured data sources, including free text, can be used in outcomes modeling to improve predictions.


We use cookies to improve the performance of our site, to analyze the traffic to our site, and to personalize your experience of the site. You can control cookies through your browser settings. Please find more information on the cookies used on our site. Privacy Policy