Comments (2)
Hi Fedor,
Thanks for using PyGAD!
The feature of using a custom parent selection function is already supported. Just assign your custom function to the parent_selection_type
parameter. Please check the documentation for details about the expected signature of the user-defined function: https://pygad.readthedocs.io/en/latest/README_pygad_ReadTheDocs.html#user-defined-crossover-mutation-and-parent-selection-operators
Please have a try and let me know if you have any issues using your custom parent selection function.
Regards,
Ahmed
from geneticalgorithmpython.
Thanks for your explanation
from geneticalgorithmpython.
Related Issues (20)
- ga_instance.save will not work with tqdm example HOT 2
- fitness function is being saved? HOT 2
- Cannot modify the attributes of the ga_instance when running multiple processes in parallel HOT 1
- Manipulate solution before saving it as parent HOT 5
- `pareto_fronts` is from previous generation HOT 1
- `initial_population` not effectively used/retained for multiobjective problems? HOT 4
- Training traffic sign recognition with faster rcnn using ga HOT 1
- ga_instance.best_solution() does not return the solution that minimizes my fitness function HOT 2
- delay_after_gen warning HOT 3
- Is NSGA-III supported? HOT 1
- Caching of Fitness Values for Elites/Kept Parents
- pygad.kerasga
- ga_instance.best_solution() only returning best parameters and fitness of previous Generation HOT 1
- Matplotlib imported by pyGAD
- 'numpy.ndarray' object has no attribute 'index'
- Multi-objective optimization with NSGA II throwing out solutions in Pareto front HOT 1
- Adaptive mutation will call fitness batch function twice HOT 1
- "reach" stop criteria with negative valued fitness function
- pareto_front is getting assigned dominated_set?
- Calling some function before fitness_func in adaptive mutation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geneticalgorithmpython.