The process involved extracting key data columns such as HPI, Chief Complaint, and Vitals from EHR
records. The input data was cleaned using the NLTK library to remove stop words, while a Pain Scale Index was extracted
using Regular Expressions. The cleaned dataset was then split into training, test, and validation sets. Supervised learning
was applied with incremental training to integrate new data into the existing model. Performance evaluation was conducted
using a confusion matrix to compare accuracy and quality against the previous model.