Explainable AI for Life Science¶
In this workshop, we will give an introduction to explainable AI (xAI) and its role in the life sciences. Through interactive lectures and hands-on notebooks, participants will apply explanation methods such as SHAP, feature importance, saliency maps, and GradCAM to real medical datasets – including brain stroke prediction from tabular data and classification of chest X-ray images. By the end of the workshop, you will have hands-on experience in generating, interpreting, and critically validating AI explanations on real-life science problems
Prerequisites
Basic familiarity with Python is expected.
Experience with machine learning is preferable, but no prior experience with explainable AI is required.
Pre-workshop setup
Lesson
Reference
Learning outcomes¶
By the end of this module, learners should:
Understand use cases of AI in life sciences and how explainable AI (xAI) helps to make a step towards trustworthy AI in the life sciences.
Describe the main categories of xAI methods and explain the differences between them.
Evaluate model explanations critically, recognising that xAI is a tool – not a guarantee – and that explanations must be validated by domain experts.
See also¶
Credit
Don’t forget to check out additional course materials from NBIS Sweden [MAK+26], and AI:AT [Wac26].
License
CC BY-SA for media and pedagogical material
Copyright © 2026, Sweden AI Factory, Ivan Cucchi, Fahria Kabir, Ashwin Mohanan, Nishat Mowla, Ana Tanevska, Erik Ylipää. . This material is released by Sweden AI Factory under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).
Canonical URL: https://creativecommons.org/licenses/by-sa/4.0/
You are free to
Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms
Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation .
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.
MIT for source code and code snippets
MIT License
Copyright (c) 2026, Sweden AI Factory, Ivan Cucchi, Fahria Kabir, Ashwin Mohanan, Nishat Mowla, Ana Tanevska, Erik Ylipää.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Claudio Mirabello, Christophe Avenel, Marcin Kierczak, Per Unneberg, and Erik Ylipää. NBIS Workshop on Neural Networks and Deep Learning. 2026. URL: https://nbisweden.github.io/workshop_NN_DL/ (visited on 2026-10-21).
Anahid Wachsenegger. Hands-on Explainable AI (XAI): From Data Understanding to Model Interpretation. April 2026. original-date: 2026-02-23T09:11:10Z. URL: https://ai-at.eu/training/hands-on-explainable-ai-xai-from-data-understanding-to-model-interpretation-2 (visited on 2026-10-21).