Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DEAP/deap
/ functions
Functions
649 in github.com/DEAP/deap
⨍
Functions
649
◇
Types & classes
55
↳
Endpoints
5
Method
build_extension
(self, ext)
setup.py:48
Method
c1
(individual)
tests/test_convergence.py:149
Method
c2
(individual)
tests/test_convergence.py:154
Function
chuang_f1
Binary deceptive function from : Multivariate Multi-Model Approach for Globally Multimodal Problems by Chung-Yao Chuang and Wen-Lian Hsu. The
deap/benchmarks/binary.py:61
Function
chuang_f2
Binary deceptive function from : Multivariate Multi-Model Approach for Globally Multimodal Problems by Chung-Yao Chuang and Wen-Lian Hsu. The
deap/benchmarks/binary.py:78
Function
chuang_f3
Binary deceptive function from : Multivariate Multi-Model Approach for Globally Multimodal Problems by Chung-Yao Chuang and Wen-Lian Hsu. The
deap/benchmarks/binary.py:101
Function
cigar
r"""Cigar test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:84
Function
classification_rate
Returns the classification rate of the default KNN.
examples/ga/knn.py:90
Method
clear
Clear the hall of fame.
deap/tools/support.py:568
Function
cloneHost
Specialized copy function that will work only on a list of tuples with no other member than a fitness.
examples/coev/hillis.py:91
Function
cloneParasite
Specialized copy function that will work only on a list of lists with no other member than a fitness.
examples/coev/hillis.py:99
Function
closest_feasible
A function returning a valid individual from an invalid one.
deap/tools/constraint.py:160
Method
closest_feasible
A function returning a valid individual from an invalid one.
tests/test_convergence.py:382
Function
compileADF
Compile the expression represented by a list of trees. The first element of the list is the main tree, and the following elements are automati
deap/gp.py:504
Function
cone
r"""The cone peak function to be used with scenario 2 and 3. :math:`f(\mathbf{x}) = h - w \sqrt{\sum_{i=1}^N (x_i - p_i)^2}`
deap/benchmarks/movingpeaks.py:34
Function
contribution
(i)
examples/ga/mo_rhv.py:74
Function
convergence
Given a Pareto front `first_front` and the optimal Pareto front, this function returns a metric of convergence of the front as explained in th
deap/benchmarks/tools.py:285
Function
convertQuantum
(swarm, rcloud, centre, dist)
examples/pso/multiswarm.py:58
Function
convert_quantum
(swarm, rcloud, centre)
examples/pso/speciation.py:57
Function
create
Creates a new class named *name* inheriting from *base* in the :mod:`~deap.creator` module. The new class can have attributes defined by the s
deap/creator.py:143
Function
cxBinomial
(x, y, cr)
examples/de/sphere.py:41
Function
cxBlend
Executes a blend crossover that modify in-place the input individuals. The blend crossover expects :term:`sequence` individuals of floating point
deap/tools/crossover.py:240
Function
cxCounter
Swaps the number of particular items between two individuals
examples/ga/xkcd.py:61
Function
cxESBlend
Executes a blend crossover on both, the individual and the strategy. The individuals shall be a :term:`sequence` and must have a :term:`sequence`
deap/tools/crossover.py:389
Function
cxESTwoPoints
.. deprecated:: 1.0 The function has been renamed. Use :func:`cxESTwoPoint` instead.
deap/tools/crossover.py:447
Function
cxExponential
(x, y, cr)
examples/de/sphere.py:49
Function
cxMessyOnePoint
Executes a one point crossover on :term:`sequence` individual. The crossover will in most cases change the individuals size. The two individua
deap/tools/crossover.py:366
Function
cxOnePoint
Randomly select crossover point in each individual and exchange each subtree with the point as root between each individual. :param ind1: Fir
deap/gp.py:659
Function
cxOnePoint
Executes a one point crossover on the input :term:`sequence` individuals. The two individuals are modified in place. The resulting individuals wil
deap/tools/crossover.py:17
Function
cxOnePointLeafBiased
Randomly select crossover point in each individual and exchange each subtree with the point as root between each individual. :param ind1: Fir
deap/gp.py:699
Function
cxOrdered
Executes an ordered crossover (OX) on the input individuals. The two individuals are modified in place. This crossover expects :term:`sequence
deap/tools/crossover.py:187
Function
cxPartialyMatched
Executes a partially matched crossover (PMX) on the input individuals. The two individuals are modified in place. This crossover expects :term
deap/tools/crossover.py:93
Function
cxSemantic
Implementation of the Semantic Crossover operator [Geometric semantic genetic programming, Moraglio et al., 2012] offspring1 = random_tree1 *
deap/gp.py:1284
Function
cxSet
Apply a crossover operation on input sets. The first child is the intersection of the two sets, the second child is the difference of the two
examples/ga/knapsack.py:64
Function
cxSimulatedBinary
Executes a simulated binary crossover that modify in-place the input individuals. The simulated binary crossover expects :term:`sequence` indi
deap/tools/crossover.py:262
Function
cxSimulatedBinaryBounded
Executes a simulated binary crossover that modify in-place the input individuals. The simulated binary crossover expects :term:`sequence` indi
deap/tools/crossover.py:290
Function
cxTwoPointCopy
Execute a two points crossover with copy on the input individuals. The copy is required because the slicing in numpy returns a view of the data,
examples/ga/onemax_numpy.py:37
Function
cxTwoPoints
.. deprecated:: 1.0 The function has been renamed. Use :func:`~deap.tools.cxTwoPoint` instead.
deap/tools/crossover.py:62
Function
cxUniform
Executes a uniform crossover that modify in place the two :term:`sequence` individuals. The attributes are swapped according to the *indpb* pr
deap/tools/crossover.py:72
Function
cxUniformPartialyMatched
Executes a uniform partially matched crossover (UPMX) on the input individuals. The two individuals are modified in place. This crossover expe
deap/tools/crossover.py:143
Method
decFunc
(func)
deap/tools/support.py:109
Function
decorator
(func)
examples/ga/kursawefct.py:41
Function
decorator
(func)
examples/es/fctmin.py:44
Function
decorator
(func)
doc/code/tutorials/part_3/3_6_2_tool_decoration.py:9
Method
decorator
Property that returns an appropriate decorator to enhance the operators of the toolbox. The returned decorator assumes that the indivi
deap/tools/support.py:100
Method
delValues
(self)
deap/base.py:200
Function
dent
r"""Test problem Dent. Two-objective problem with a "dent". *individual* has two attributes that take values in [-1.5, 1.5]. From: Schuetze, O
deap/benchmarks/__init__.py:701
Method
depth
Return the number of parallel steps that it takes to sort any input.
examples/ga/sortingnetwork.py:113
Method
depth
Return the number of parallel steps that it takes to sort any input.
doc/code/tutorials/part_4/sortingnetwork.py:119
Function
distance
A distance function to the feasibility region.
deap/tools/constraint.py:156
Method
distance
A distance function to the feasibility region.
tests/test_convergence.py:378
Function
diversity
(population)
deap/benchmarks/movingpeaks.py:390
Function
diversity
Given a Pareto front `first_front` and the two extreme points of the optimal Pareto front, this function returns a metric of the diversity of
deap/benchmarks/tools.py:262
Method
dominates
(self, other)
deap/base.py:337
Function
dtlz1
r"""DTLZ1 multiobjective function. It returns a tuple of *obj* values. The individual must have at least *obj* elements. From: K. Deb, L. Thie
deap/benchmarks/__init__.py:489
Function
dtlz2
r"""DTLZ2 multiobjective function. It returns a tuple of *obj* values. The individual must have at least *obj* elements. From: K. Deb, L. Thie
deap/benchmarks/__init__.py:518
Function
dtlz3
r"""DTLZ3 multiobjective function. It returns a tuple of *obj* values. The individual must have at least *obj* elements. From: K. Deb, L. Thie
deap/benchmarks/__init__.py:547
Function
dtlz4
r"""DTLZ4 multiobjective function. It returns a tuple of *obj* values. The individual must have at least *obj* elements. The *alpha* parameter all
deap/benchmarks/__init__.py:575
Function
dtlz5
r"""DTLZ5 multiobjective function. It returns a tuple of *obj* values. The individual must have at least *obj* elements. From: K. Deb, L. Thie
deap/benchmarks/__init__.py:605
Function
dtlz6
r"""DTLZ6 multiobjective function. It returns a tuple of *obj* values. The individual must have at least *obj* elements. From: K. Deb, L. Thie
deap/benchmarks/__init__.py:626
Function
dtlz7
r"""DTLZ7 multiobjective function. It returns a tuple of *obj* values. The individual must have at least *obj* elements. From: K. Deb, L. Thie
deap/benchmarks/__init__.py:647
Function
eaGenerateUpdate
This is algorithm implements the ask-tell model proposed in [Colette2010]_, where ask is called `generate` and tell is called `update`. :para
deap/algorithms.py:440
Function
eaMuCommaLambda
r"""This is the :math:`(\mu~,~\lambda)` evolutionary algorithm. :param population: A list of individuals. :param toolbox: A :class:`~deap.bas
deap/algorithms.py:340
Function
eaMuPlusLambda
r"""This is the :math:`(\mu + \lambda)` evolutionary algorithm. :param population: A list of individuals. :param toolbox: A :class:`~deap.bas
deap/algorithms.py:248
Function
eaSimple
This algorithm reproduce the simplest evolutionary algorithm as presented in chapter 7 of [Back2000]_. :param population: A list of individua
deap/algorithms.py:85
Function
evalArtificialAnt
(individual)
examples/gp/ant.py:170
Function
evalClassifier
(individual)
examples/ga/evoknn.py:49
Function
evalEvoSN
(individual, dimension)
examples/ga/evosn.py:29
Function
evalEvoSN
(individual, dimension)
doc/code/tutorials/part_4/4_4_Using_Cpp_NSGA.py:28
Function
evalEvoSN
(individual, dimension)
doc/code/tutorials/part_4/4_5_home_made_eval_func.py:34
Function
evalFitness
(individual)
examples/ga/evoknn_jmlr.py:20
Function
evalKnapsack
(individual)
examples/ga/knapsack.py:54
Function
evalMultiplexer
(individual)
examples/gp/multiplexer.py:73
Function
evalNQueens
Evaluation function for the n-queens problem. The problem is to determine a configuration of n queens on a nxn chessboard such that no queen
examples/ga/nqueens.py:28
Function
evalNetwork
(host, parasite, dimension)
examples/coev/hillis.py:31
Function
evalOneMax
(individual)
examples/ga/onemax_short.py:38
Function
evalOneMax
(individual)
examples/ga/onemax.py:48
Function
evalOneMax
(individual)
examples/ga/onemax_numpy.py:34
Function
evalOneMax
(individual)
examples/ga/onemax_multidemic.py:39
Function
evalOneMax
(individual)
examples/ga/onemax_mp.py:33
Function
evalOneMax
(individual)
examples/ga/onemax_island.py:42
Function
evalOneMax
(individual)
examples/ga/onemax_island_scoop.py:42
Function
evalOneMax
(individual)
examples/eda/pbil.py:53
Function
evalOneMax
(individual)
doc/code/tutorials/part_3/stats.py:18
Function
evalParity
(individual)
examples/gp/parity.py:66
Function
evalSpambase
(individual)
examples/gp/spambase.py:82
Function
evalSymbReg
(individual)
examples/gp/symbreg_numpy.py:64
Function
evalSymbReg
(individual)
examples/gp/adf_symbreg.py:103
Function
evalSymbReg
(individual, points)
examples/gp/symbreg_harm.py:55
Function
evalSymbReg
(individual, points)
examples/gp/symbreg.py:57
Function
evalSymbReg
(individual, points)
examples/gp/symbreg_epsilon_lexicase.py:55
Function
evalSymbReg
(individual, points)
doc/code/tutorials/part_3/multistats.py:31
Function
evalTSP
(individual)
examples/ga/tsp.py:47
Function
evalXKCD
Evaluates the fitness and return the error on the price and the time taken by the order if the chef can cook everything in parallel.
examples/ga/xkcd.py:51
Function
evaluate
(individual)
doc/code/tutorials/part_1/1_where_to_start.py:19
Function
evaluateInd
(individual)
doc/code/tutorials/part_3/3_6_using_the_toolbox.py:7
Method
fields
(self)
deap/tools/support.py:241
Function
fonseca
r"""Fonseca and Fleming's multiobjective function. From: C. M. Fonseca and P. J. Fleming, "Multiobjective optimization and multiple constraint
deap/benchmarks/__init__.py:659
Method
format
(self, *args)
deap/gp.py:206
Method
from_string
Try to convert a string expression into a PrimitiveTree given a PrimitiveSet *pset*. The primitive set needs to contain every primitive
deap/gp.py:108
← previous
next →
301–400 of 649, ranked by callers