Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions evfs/efs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -604,6 +605,7 @@ def select_features(
)

population.append(genecode)
print("after cross_over ",len(winners),len(population))

# mutate
if command == "chaos":
Expand Down Expand Up @@ -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
)
Expand Down
3 changes: 0 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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