Deus Ex Machina? Predicting SARS-CoV-2 Infection from Lab Tests Using Machine Learning
Bibliographic record
Abstract
Coronavirus 2019 (COVID-19) has disrupted lives, the economy, and healthcare systems across the globe, unlike any infectious disease in 100 years. As we collectively seek to survive and emerge from this ongoing crisis, it is worth evaluating any scientific discovery that may help reduce health risks or address barriers to the response. One particular barrier that will persist through the pandemic is the speed and availability of COVID-19 diagnostic testing. Test availability continues to be impeded by global supply chain shortages and logistic challenges, which have often caused long turnaround times and delayed results. This problem is partially addressed in the study by Yang and coworkers (1), who aim to predict SARS-CoV-2 (severe acute respiratory syndrome coronavirus 2) infection before COVID-19 reverse transcription–PCR results are available by combining routinely available laboratory results with modern machine learning methods. Applying machine learning to lab results can be useful when the relationship between individual analytes and disease state is complex or unknown, as is the case with COVID-19. The machine learning algorithms proposed by Yang and coworkers could be useful in the absence of definitive test results to help guide patient-management decisions. The study has several notable strengths including the apparent generalizability of the prediction, the ability to improve the algorithm as additional cases are added, and the use of widely available lab tests. In terms of available data, routine complete blood count, coagulation, electrolyte, and kidney and liver function tests are the most commonly ordered laboratory tests, providing a ready source of predictors without the need to order additional tests. Because machine learning algorithms are highly amenable to retraining, continuously adding more classified data (patients with known COVID-19 status) should improve the overall performance. Indeed, the performance of machine learning algorithms generally improves with larger data sets (2). Cross-validation across 2 different hospitals with different instrumentation demonstrates that the algorithm has the potential to be used widely. In a real-world setting, implementing predictive algorithms for COVID-19 presents several challenges including (a) integration into electronic medical records (EMRs), (b) reporting of predictions, and (c) the inherent opacity of machine learning algorithms. Underpinning these challenges are the key questions of what a given prediction indicates and what action a physician can take with an individual patient. EMRs, laboratory information systems, and middleware systems can be programmed to perform a wide array of calculations; however, the use of machine learning methods requires integration between the highly specialized software that generates the predictions and the laboratory information system or EMR. In the current situation, this would entail a continuous exchange of laboratory data and predictions between the programming language Python with the scikit-learn machine learning library and the laboratory information system. Although integrated and embedded machine learning in EMRs is often touted as the next great advance in medicine, it is currently neither common nor trivial to implement—perhaps this is another technology adoption that will be driven faster by COVID-19. Last, related to the use of predictions and EMR integration, is how to report the probabilities generated by the algorithms. For example, should predictions be provided as a probability score, a risk-related keyword (low, medium, high), a binary measure (detected or undetected), or a textual report explaining the results and algorithm? Overall, adoption is likely to depend on how easy it is to convey what the prediction can and cannot provide. Regardless of the challenges, the incredible strain of COVID-19 on healthcare systems necessitates new approaches to diagnostics, patient management, and data use. With that context, the algorithms presented by Yang and coworkers have the potential to augment more conventional methods for rapid assessment of patients with COVID-19. Author Contributions: All authors confirmed they have contributed to the intellectual content of this paper and have met the following 4 requirements: (a) significant contributions to the conception and design, acquisition of data, or analysis and interpretation of data; (b) drafting or revising the article for intellectual content; (c) final approval of the published article; and (d) agreement to be accountable for all aspects of the article thus ensuring that questions related to the accuracy or integrity of any part of the article are appropriately investigated and resolved. Authors' Disclosures or Potential Conflicts of Interest: No authors declared any potential conflicts of interest.
Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.
How this classification was reachedexpand
Full frame machine prediction
Teacher imitationNot calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.
Distilled classifier scores by category (both heads)
| Category | Codex | Gemma |
|---|---|---|
| Metaresearch | 0.001 | 0.004 |
| Meta-epidemiology (narrow) | 0.001 | 0.000 |
| Meta-epidemiology (broad) | 0.001 | 0.001 |
| Bibliometrics | 0.001 | 0.000 |
| Science and technology studies | 0.000 | 0.000 |
| Scholarly communication | 0.001 | 0.001 |
| Open science | 0.001 | 0.001 |
| Research integrity | 0.001 | 0.001 |
| Insufficient payload (model declined to judge) | 0.001 | 0.001 |
Machine scores (provisional)
The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.
Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.
score_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from itClassification
machine, unvalidatedMachine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.
How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".