katossky commited on
Commit
1da6f58
1 Parent(s): 781a257

remove typing error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ predictor.fit( wines.drop('label', axis=1), wines['label'] )
19
  def plot_explanation(instance_part_1, instance_part_2, instance_part_3, sigma):
20
  instance_pd = pd.concat([instance_part_1, instance_part_2, instance_part_3], axis=1)
21
  instance_np = instance_pd.to_numpy().squeeze()
22
- explainer = lime.lime_tabular.LimeTabularExplainer(
23
  training_data = wines.drop('label', axis=1), #.to_numpy(),
24
  feature_names = wines.columns[1:].to_list(),
25
  discretize_continuous = False, kernel_width=sigma
 
19
  def plot_explanation(instance_part_1, instance_part_2, instance_part_3, sigma):
20
  instance_pd = pd.concat([instance_part_1, instance_part_2, instance_part_3], axis=1)
21
  instance_np = instance_pd.to_numpy().squeeze()
22
+ explainer = LimeTabularExplainer(
23
  training_data = wines.drop('label', axis=1), #.to_numpy(),
24
  feature_names = wines.columns[1:].to_list(),
25
  discretize_continuous = False, kernel_width=sigma