diff --git a/evfs/efs.py b/evfs/efs.py index c73b144..54c352e 100644 --- a/evfs/efs.py +++ b/evfs/efs.py @@ -487,10 +487,11 @@ def select_features( ) key_list = list(self.binary_tracker.keys()) - + + print("solve_this",len(winners),len(population)) # crossBreed for i in range(len(winners) // 2): - + print(i,"__________________") # TODO a single to perform crossbreeding operation breeding = random.sample(winners, 2) # randomly selected creatures @@ -604,6 +605,7 @@ def select_features( ) population.append(genecode) + print("after cross_over ",len(winners),len(population)) # mutate if command == "chaos": @@ -653,6 +655,8 @@ def select_features( print("random creatures created", "\n") + print("after_everything",len(winners),len(population)) + winners = self.__select_winners_top( population, gen, evalFunction, variables ) diff --git a/requirements.txt b/requirements.txt index 4a7b5d4..f7df29c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,3 @@ -auto-sklearn >= 0.12.6 -Keras >=2.4.3 numpy >=1.19.5 pandas >=1.1.5 -scikit-learn >= 0.22.1 matplotlib >= 3.4.1 \ No newline at end of file