jojocarson/hcv_rt_classifier
Classification of retreatment for reinfection and virological failure among people treated with direct acting antiviral therapy for hepatitis C in national pharmacuetical dispensing administrative data
Machine learning to monitor national trends in hepatitis C virus reinfection and treatment failure retreatments
The treatment of hepatitis C virus (HCV) infection has evolved considerably with the development of direct-acting antiviral (DAA) therapies that are well-tolerated and yield high cure rates (≥95%). However, a small proportion of those treated will have virological failure while others may become reinfected. Retreatment of reinfection and virological failure is essential to prevent transmission, liver disease progression and HCV-related mortality.
In Australia, there is unrestricted access to government subsidized DAAs that can be prescribed by any medical practitioner, with no restrictions on the prescribing of retreamtent. While treatment uptake was initially greatest among older individuals with advanced disease (ie with higher risk of virological failure), there has been increasing treatment uptake among youunger people who inject drugs and people who are incarcerated (ie with higher risk of reinfection).
All dispensation of DAAs is reported through the Australian Pharmaceutical Benefit Scheme (PBS), including retreatment dispensation. The PBS provides high-coverage, structured information on patient demography and pharmacy dispensing however this data is collected for administrative purposes and lacks clinical granularity. Reasons for retreatment are important for assessing HCV elimination strategies but are not captured in the PBS data.
The REACH-C study is a national cohort of individuals receiving DAA treatment through the PBS that reported details of retreatments, including the retreatment reason. For this analysis, we used retreatment data from REACH-C to train a machine learning model to classify retreatments in PBS data as retreatment for reinfection or retreatment for virological failure.
Trends in HCV treatment and retreatments in Australia
Polar plot of DAA treatment and retreatment trends in Australia
Trends in in retreatments for reinfection and treatment failure in Australia
Polar plot of treatment, reiinfection retreatment & treatment failure retreatment trends in Australia
DAA regimens used to retreat reinfection
DAA regimens used to retreat treatment failure
Trends in retreatment for reinfection by Australian state or territory
Trends in retreatment for treatment failure by Australian state or territory
Contents
01. Code for random forest classifier with nested cross validation
02. Code for gradient boosting classifier with nested cross validation
03. Code for obtaining predictions and computing bootstrapped CIs
Contributors
Joanne Carson
Sebastiano Barbieri
Contact Information
For any question regarding the code or the model please email to: jojocarson@protonmail.com







