diff --git a/dice_ml/explainer_interfaces/dice_KD.py b/dice_ml/explainer_interfaces/dice_KD.py index 532c340e..a8e951ea 100644 --- a/dice_ml/explainer_interfaces/dice_KD.py +++ b/dice_ml/explainer_interfaces/dice_KD.py @@ -260,7 +260,7 @@ def find_counterfactuals(self, data_df_copy, query_instance, query_instance_orig if total_cfs_found < total_CFs: self.elapsed = timeit.default_timer() - start_time m, s = divmod(self.elapsed, 60) - print('Only %d (required %d) ' % (total_cfs_found, self.total_CFs), + print('Only %d (required %d) ' % (total_cfs_found, total_CFs), 'Diverse Counterfactuals found for the given configuation, perhaps ', 'change the query instance or the features to vary...' '; total time taken: %02d' % m, 'min %02d' % s, 'sec')