From 4e53208ea3ab8295056acea399f0ec49fa98ed24 Mon Sep 17 00:00:00 2001 From: cpranav93 Date: Tue, 14 Nov 2023 12:58:37 +0100 Subject: [PATCH] define clearly class_names and labels --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3568aa60..909ee535 100644 --- a/README.md +++ b/README.md @@ -183,8 +183,8 @@ num_samples = 500 # The number of samples to generate for the LIME explainer. Which of your model's classes do you want an explanation for? ```python -class_names= [class_a, class_b] # The list of class names. -labels = np.argsort(class_names) # The list of labels for different classes. +class_names= [class_a, class_b] # String representation of the different classes of interest +labels = np.argsort(class_names) # Numerical representation of the different classes of interest for the model ``` Run using the XAI method of your choice, for example LIME with the following additional arguments: