Practical: Practice with XAI models 2

Practical: Practice with XAI models 2

Administrative information


Title XAI Hands-on Assignment
Duration 60 min
Module B
Lesson Type Practical
Focus Ethical - Trustworthy AI
Topic General Explainable AI

 

Keywords


SHAP, LIME, Explainable AI,

 

Learning Goals


  • Gain experience in implementation of SHAP-model.
  • Gain experience in implementation of LIME-model.
  • Experience differences (in outcomes) of SHAP vs. LIME
  • Reflect on Human-centered application of XAI.
  • Experiment with differences in datasets to understand different outcomes of SHAP/LIME (bonus).

 

Expected Preparation


Obligatory for Students

  • Follow XAI lecture(s)
  • Complete Practical Practice with XAI models 1

Optional for Students

None.

References and background for students:

None.

Recommended for Teachers

  • Solutions are available in the notebook provided.

Lesson Materials


 


The materials of this learning event are available under CC BY-NC-SA 4.0.

 

Instructions for Teachers


Instructions are provided in the notebook

Outline of lecture

 
Duration (min) Description
0-10 min Read aim and purpose of exercises and run preparation steps in the notebook.
5-10 min Excerise 1a: create SHAP model for given dataset/AI-model.
5-10 min Exercise 1b: reflect on outcomes of SHAP model.
5-10 min Exercise 2a: create LIME model for same dataset/AI-model.
5-10 min Exercise 2b: reflect on outcomes of LIME model.
10-15 min Exercise 3: reflect on differences between LIME and SHAP outcomes, reflect on applicability of LIME vs. SHAP.
10-15 min Exercise 4: reflect on human-centered aspects of applying XAI (vs. clarifying the AI-model).
10-15min (Optional) Exercise 5: Experiment with LIME/SHAP-tool to see differences in outcomes from LIME/SHAP.

More information

Click here for an overview of all lesson plans of the master human centred AI

Please visit the home page of the consortium HCAIM

Acknowledgements

The Human-Centered AI Masters programme was co-financed by the Connecting Europe Facility of the European Union Under Grant №CEF-TC-2020-1 Digital Skills 2020-EU-IA-0068.

The materials of this learning event are available under CC BY-NC-SA 4.0

 

The HCAIM consortium consists of three excellence centres, three SMEs and four Universities

HCAIM Consortium

  • Het arrangement Practical: Practice with XAI models 2 is gemaakt met Wikiwijs van Kennisnet. Wikiwijs is hét onderwijsplatform waar je leermiddelen zoekt, maakt en deelt.

    Laatst gewijzigd
    2024-05-15 11:19:50
    Licentie

    Dit lesmateriaal is gepubliceerd onder de Creative Commons Naamsvermelding-GelijkDelen 4.0 Internationale licentie. Dit houdt in dat je onder de voorwaarde van naamsvermelding en publicatie onder dezelfde licentie vrij bent om:

    • het werk te delen - te kopiëren, te verspreiden en door te geven via elk medium of bestandsformaat
    • het werk te bewerken - te remixen, te veranderen en afgeleide werken te maken
    • voor alle doeleinden, inclusief commerciële doeleinden.

    Meer informatie over de CC Naamsvermelding-GelijkDelen 4.0 Internationale licentie.

    Aanvullende informatie over dit lesmateriaal

    Van dit lesmateriaal is de volgende aanvullende informatie beschikbaar:

    Toelichting
    .
    Eindgebruiker
    leerling/student
    Moeilijkheidsgraad
    gemiddeld
    Studiebelasting
    4 uur en 0 minuten

    Gebruikte Wikiwijs Arrangementen

    HCAIM Consortium. (z.d.).

    Acknowledgement

    https://maken.wikiwijs.nl/198386/Acknowledgement

    HCAIM Consortium. (z.d.).

    Practical: Risk & Risk mitigation

    https://maken.wikiwijs.nl/200232/Practical__Risk___Risk_mitigation