1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Explainable AI in Python

Connected

Bài tập

Evaluating faithfulness with LIME

You are provided with a LIME explanation for a sample X_instance from the income dataset. Since gender is the most important predictor, you need to change its value and compute faithfulness to determine how well the explanation aligns with the model's behavior for that instance.

Hướng dẫn

100 XP
  • Change the gender value to 0 in X_instance.
  • Generate a new_prediction probability.
  • Estimate the faithfulness of LIME's explanation.