Merck: cancer care adverse events

Exploring how machine learning can help address cancer treatment side effects

Started
June 1, 2022
Status
Completed
Share this project

Abstract

Targeted therapies are transforming cancer care, offering more precise and effective treatments. Yet, managing their side effects remains a critical challenge. As an example, edema is the most prevalent adverse event (AE) and a known class effect of some targeted cancer therapies. There is still limited understanding of the factors contributing to its occurrence.

A collaboration between Merck Healthcare KGaA, Darmstadt, Germany and the Swiss Data Science Center explored how machine learning (ML) can help address this challenge, bringing new insights into clinical safety and patient management. Results have been published in Clinical and Translational Science, a journal of the American Society for Clinical Pharmacology and Therapeutics.

People

Collaborators

SDSC Team:
Federico Amato
Roberto Castello

PI | Partners:

Nadia Terranova (Merck Healthcare KGaA, Darmstadt, Germany)

description

From Clinical Data to Actionable Predictions

The study leveraged data from over 600 patients enrolled in multiple clinical trials. These datasets included both baseline characteristics (such as age) and longitudinal measurements (such as lab values tracked over time), reflecting the complexity of real-world clinical care.

To model this, a machine learning framework capable of predicting the likelihood and severity of edema at future clinical visits was proposed. Tree-based models, and specifically Random Forest and Gradient Boosting, were used due to their strong performance on structured clinical data.

A key methodological challenge was incorporating the temporal dimension of patient data. Since standard ML models are not inherently designed for longitudinal inputs, new features capturing recent patient history were engineered, for example by aggregating measurements over different time windows or tracking changes from baseline.

The resulting models achieved high predictive performance, correctly forecasting edema severity in most cases.

Ensuring the Reliability of Predictions

In clinical settings, accuracy alone is not enough: interpretability and reliability are essential.

To ensure that predicted risks correspond to real-world probabilities, probability calibration techniques were applied. This step ensures that a predicted risk truly reflects observed outcomes in similar patients.

Equally important, the study integrated explainability methods using SHAP (Shapley Additive Explanations). These tools allow clinicians and researchers to understand why a model makes a given prediction, both at the population level and for individual patients.

What Drives Edema Risk

Beyond prediction, the approach uncovers clinically meaningful insights. The analysis identified several key factors associated with increased edema risk:

  • Serum albumin levels: lower values are strongly linked to higher risk
  • Age: older patients are more likely to develop severe edema
  • Previous edema status: past events are highly predictive of future ones

These findings are consistent with existing clinical knowledge, reinforcing confidence in the model while also quantifying the relative importance of each factor. The model also supports the understanding of the complex relationships between exposure therapy and adverse events.

Toward Data-Driven Patient Management

This work demonstrates how combining machine learning with explainability can enhance our understanding of treatment safety. By moving beyond static analyses and leveraging longitudinal clinical data, the framework provides a more dynamic view of patient risk over time.

More broadly, it illustrates a shift toward model-informed precision medicine, where data-driven tools support clinicians in anticipating adverse events and tailoring treatments accordingly.

As healthcare data continues to grow in scale and complexity, such approaches will be key to translating information into actionable insights, ultimately improving patient outcomes.

© Image : HockleyM2/peopleimages.com - stock.adobe.com

Gallery

Annexe

Additional resources

Bibliography

Publications

More projects

Èvokâ: Enhancing Fribourg's Archives

Completed
Making 10 TB of cultural heritage searchable and emotionally resonant
Public sector
Academia

ACROSS

In Progress
Actionable, Collaborative, Reusable, interOperable Sepsis System
No items found.

Dedgeflow

Completed
Using Data Science and Edge Computing for Debris Flow Warning
Academia

Open-source RAG for Zurich SMEs

Completed
Canton Zurich AI Program generates a Retrieval-Augmented Generation prototype for SMEs
Private sector

More projects

No results found.
There are no results with this criteria. Try changing your search.
No result

News

Latest news

The SDSC to support 31 projects through its second National Calls
August 13, 2026

The SDSC to support 31 projects through its second National Calls

The SDSC to support 31 projects through its second National Calls

News Release: The SDSC has accepted 31 proposals for collaborative projects in its 2025 National Calls.
SDSC and PSI teams jointly explore the AI potential of large-scale infrastructures
July 8, 2026

SDSC and PSI teams jointly explore the AI potential of large-scale infrastructures

SDSC and PSI teams jointly explore the AI potential of large-scale infrastructures

Tailored community event at PSI in Villigen, Aargau, reveals machine learning and AI opportunities in accelerating scientific discovery
Coding the Future: Energy Data Hackdays Expand to French-speaking Switzerland
May 7, 2026

Coding the Future: Energy Data Hackdays Expand to French-speaking Switzerland

Coding the Future: Energy Data Hackdays Expand to French-speaking Switzerland

Held at the SDSC headquarters at Biopôle, the Energy Data Hackdays gather 100 experts to tackle 5 energy and grid challenges.

Contact us

Would you like to explore how we can work together?

Our team of data scientists and professionals looks forward to engaging in impactful, results-driven collaborations with you.