Skip to content

SongChiYoung/binary-genetic-algorithm-for-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

binary-genetic-algorithm-for-python


(size, inits, repeat, rat_func, n_jobs=1)

Size : Length of the Binary list

Inits : Build How many Gens

Repeat : How many repeat of the Genetic algorithm

rat_func : Rating function.

ex:

def rat(x):

res = 0

for i in x:
    res += i
    
return -1*abs(5-res)

Type of x is pandas.core.series.Series

n_jobs : Multi Processing. (e.g. type how many your cpu core)

About

Binary genetic algorithm for python with pandas. May can use own rating function and Multi-Processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published