Questions tagged [pyevolve]

Pyevolve was developed to be a complete genetic algorithm framework written in pure python.

Pyevolve was developed to be a complete genetic algorithm framework written in pure python, the main objectives of Pyevolve is:

  • written in pure python, to maximize the cross-platform issue;
  • easy to use API, the API must be easy for end-user;
  • see the evolution, the user can and must see and interact with the evolution statistics, graphs and etc;
  • extensible, the API must be extensible, the user can create new representations, genetic operators like crossover, mutation and etc;
  • fast, the design must be optimized for performance;
  • common features, the framework must implement the most common features: selectors like roulette wheel, tournament, ranking, uniform. Scaling schemes like linear scaling, etc;
  • default parameters, we must have default operators, settings, etc in all options;
  • open-source, the source is for everyone, not for only one.
25 questions
0
votes
1 answer

Pyevolve with multi processing using more RAM with each GA generation

I am using pyevolve to run a GA using multi processing. The code runs fine but uses more memory with every new generation of GA. The code is creating new jobs for each generation while the previous ones are idle while reserving RAM.It finally…
Nshar30
  • 3
  • 3
0
votes
1 answer

ModuleNotFoundError: No module named 'Scaling'

I am trying to install pyevolve module in Windows CMD. I tried 3 ways to install it. pip install pyevolve easy_install pyevolve cd C:/xxxx/xxxx/xxxx/xxxx/ python setup.py install The result is: ModuleNotFoundError: No module named 'Scaling' I…
SysesCool
  • 13
  • 5
0
votes
0 answers

how to install pyevolve with python 2.7.5?

I have used this tutorial and others. I have already tried dozens of times and have spent almost a complete day but I could not succeed. No matter what, I could not go beyond this: $ python Python 2.7.5 (default, May 13 2016, 16:30:46) [GCC…
tod
  • 1,539
  • 4
  • 17
  • 43
0
votes
1 answer

Set user defined array as initial individuals in Pyevolve

Here is my question. Pyevolve is a great genetic alogrithm based framework. Unlike the random.randint way to generate the initial individuals(the first generation). It use its own function to achieve that: genome = G1DList.G1DList(8) # Sets the…
Han Zhengzu
  • 3,694
  • 7
  • 44
  • 94
0
votes
1 answer

AttributeError occurs in Pyevolove

Recently arrived to pyevolve and I'm already very grateful for the module. But I get an error I couldn't understand. It is a situation such as the following: Traceback (most recent call last): File…
kishi-kun
  • 21
  • 1
  • 4
0
votes
0 answers

ForeignKey to manyToManyField django evolve error when changing model

I can't change my model from ForeignKey to ManyToManyField with evolve my model: class Orden(models.Model): perfil = models.ForeignKey(Perfil, blank=True, null=True) I try to change to perfil = models.ManyToManyField(Perfil, blank=True,…
Rulolp
  • 21
  • 5
0
votes
2 answers

ImportError: No module named _sqlite3

I'm writing for the Google App Engine and my local tests are getting the following error: --> --> --> Traceback (most recent call last): File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 3185, in…
Chris R.
  • 3
  • 1
  • 2
0
votes
2 answers

Pyevolve with Anaconda

I am using the Anaconda python distribution for 64 bit, windows https://store.continuum.io/cshop/anaconda/ I am now trying to do some genetic search, and tried to install Pyevolve http://pyevolve.sourceforge.net/ Unfortunately it crapped out…
ganesh reddy
  • 1,842
  • 7
  • 23
  • 38
0
votes
1 answer

Generate multiple files python

I have a template file, say "template.txt" containing this text for example : variable_1 = value_1 ; variable_2 = value_2 ; variable_3 = value_3 ; I want to generate multiple files "file#.txt" (where # is the number of the file), in different…
0
votes
1 answer

How to use the best individual in pyevolve genetic programming

I apply GP in pyevolve to train and it gives me the best tree. I would like to use this tree to test different data. I want to keep min is root of the tree, so the function will return -1 if gp_add, gp_mul... is the root of tree. This is example…
1
2