Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
giandos200 committed Jan 24, 2022
1 parent 09b4550 commit 632865b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dice_ml/explainer_interfaces/dice_genetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def do_KD_init(self, features_to_vary, query_instance, cfs, desired_class, desir
self.cfs = np.array(row)

if len(self.cfs) != self.population_size:
print("Pericolo Loop infinito....!!!!")
remaining_cfs = self.do_random_init(
self.population_size - len(self.cfs), features_to_vary, query_instance, desired_class, desired_range)
self.cfs = np.concatenate([self.cfs, remaining_cfs])
Expand Down

0 comments on commit 632865b

Please sign in to comment.