MCPcopy Index your code

hub / github.com/DEAP/deap / functions

Functions649 in github.com/DEAP/deap

Methodbuild_extension
(self, ext)
setup.py:48
Methodc1
(individual)
tests/test_convergence.py:149
Methodc2
(individual)
tests/test_convergence.py:154
Functionchuang_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
Functionchuang_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
Functionchuang_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
Functioncigar
r"""Cigar test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:84
Functionclassification_rate
Returns the classification rate of the default KNN.
examples/ga/knn.py:90
Methodclear
Clear the hall of fame.
deap/tools/support.py:568
FunctioncloneHost
Specialized copy function that will work only on a list of tuples with no other member than a fitness.
examples/coev/hillis.py:91
FunctioncloneParasite
Specialized copy function that will work only on a list of lists with no other member than a fitness.
examples/coev/hillis.py:99
Functionclosest_feasible
A function returning a valid individual from an invalid one.
deap/tools/constraint.py:160
Methodclosest_feasible
A function returning a valid individual from an invalid one.
tests/test_convergence.py:382
FunctioncompileADF
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
Functioncone
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
Functioncontribution
(i)
examples/ga/mo_rhv.py:74
Functionconvergence
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
FunctionconvertQuantum
(swarm, rcloud, centre, dist)
examples/pso/multiswarm.py:58
Functionconvert_quantum
(swarm, rcloud, centre)
examples/pso/speciation.py:57
Functioncreate
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
FunctioncxBinomial
(x, y, cr)
examples/de/sphere.py:41
FunctioncxBlend
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
FunctioncxCounter
Swaps the number of particular items between two individuals
examples/ga/xkcd.py:61
FunctioncxESBlend
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
FunctioncxESTwoPoints
.. deprecated:: 1.0 The function has been renamed. Use :func:`cxESTwoPoint` instead.
deap/tools/crossover.py:447
FunctioncxExponential
(x, y, cr)
examples/de/sphere.py:49
FunctioncxMessyOnePoint
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
FunctioncxOnePoint
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
FunctioncxOnePoint
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
FunctioncxOnePointLeafBiased
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
FunctioncxOrdered
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
FunctioncxPartialyMatched
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
FunctioncxSemantic
Implementation of the Semantic Crossover operator [Geometric semantic genetic programming, Moraglio et al., 2012] offspring1 = random_tree1 *
deap/gp.py:1284
FunctioncxSet
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
FunctioncxSimulatedBinary
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
FunctioncxSimulatedBinaryBounded
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
FunctioncxTwoPointCopy
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
FunctioncxTwoPoints
.. deprecated:: 1.0 The function has been renamed. Use :func:`~deap.tools.cxTwoPoint` instead.
deap/tools/crossover.py:62
FunctioncxUniform
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
FunctioncxUniformPartialyMatched
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
MethoddecFunc
(func)
deap/tools/support.py:109
Functiondecorator
(func)
examples/ga/kursawefct.py:41
Functiondecorator
(func)
examples/es/fctmin.py:44
Functiondecorator
(func)
doc/code/tutorials/part_3/3_6_2_tool_decoration.py:9
Methoddecorator
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
MethoddelValues
(self)
deap/base.py:200
Functiondent
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
Methoddepth
Return the number of parallel steps that it takes to sort any input.
examples/ga/sortingnetwork.py:113
Methoddepth
Return the number of parallel steps that it takes to sort any input.
doc/code/tutorials/part_4/sortingnetwork.py:119
Functiondistance
A distance function to the feasibility region.
deap/tools/constraint.py:156
Methoddistance
A distance function to the feasibility region.
tests/test_convergence.py:378
Functiondiversity
(population)
deap/benchmarks/movingpeaks.py:390
Functiondiversity
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
Methoddominates
(self, other)
deap/base.py:337
Functiondtlz1
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
Functiondtlz2
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
Functiondtlz3
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
Functiondtlz4
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
Functiondtlz5
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
Functiondtlz6
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
Functiondtlz7
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
FunctioneaGenerateUpdate
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
FunctioneaMuCommaLambda
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
FunctioneaMuPlusLambda
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
FunctioneaSimple
This algorithm reproduce the simplest evolutionary algorithm as presented in chapter 7 of [Back2000]_. :param population: A list of individua
deap/algorithms.py:85
FunctionevalArtificialAnt
(individual)
examples/gp/ant.py:170
FunctionevalClassifier
(individual)
examples/ga/evoknn.py:49
FunctionevalEvoSN
(individual, dimension)
examples/ga/evosn.py:29
FunctionevalEvoSN
(individual, dimension)
doc/code/tutorials/part_4/4_4_Using_Cpp_NSGA.py:28
FunctionevalEvoSN
(individual, dimension)
doc/code/tutorials/part_4/4_5_home_made_eval_func.py:34
FunctionevalFitness
(individual)
examples/ga/evoknn_jmlr.py:20
FunctionevalKnapsack
(individual)
examples/ga/knapsack.py:54
FunctionevalMultiplexer
(individual)
examples/gp/multiplexer.py:73
FunctionevalNQueens
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
FunctionevalNetwork
(host, parasite, dimension)
examples/coev/hillis.py:31
FunctionevalOneMax
(individual)
examples/ga/onemax_short.py:38
FunctionevalOneMax
(individual)
examples/ga/onemax.py:48
FunctionevalOneMax
(individual)
examples/ga/onemax_numpy.py:34
FunctionevalOneMax
(individual)
examples/ga/onemax_multidemic.py:39
FunctionevalOneMax
(individual)
examples/ga/onemax_mp.py:33
FunctionevalOneMax
(individual)
examples/ga/onemax_island.py:42
FunctionevalOneMax
(individual)
examples/ga/onemax_island_scoop.py:42
FunctionevalOneMax
(individual)
examples/eda/pbil.py:53
FunctionevalOneMax
(individual)
doc/code/tutorials/part_3/stats.py:18
FunctionevalParity
(individual)
examples/gp/parity.py:66
FunctionevalSpambase
(individual)
examples/gp/spambase.py:82
FunctionevalSymbReg
(individual)
examples/gp/symbreg_numpy.py:64
FunctionevalSymbReg
(individual)
examples/gp/adf_symbreg.py:103
FunctionevalSymbReg
(individual, points)
examples/gp/symbreg_harm.py:55
FunctionevalSymbReg
(individual, points)
examples/gp/symbreg.py:57
FunctionevalSymbReg
(individual, points)
examples/gp/symbreg_epsilon_lexicase.py:55
FunctionevalSymbReg
(individual, points)
doc/code/tutorials/part_3/multistats.py:31
FunctionevalTSP
(individual)
examples/ga/tsp.py:47
FunctionevalXKCD
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
Functionevaluate
(individual)
doc/code/tutorials/part_1/1_where_to_start.py:19
FunctionevaluateInd
(individual)
doc/code/tutorials/part_3/3_6_using_the_toolbox.py:7
Methodfields
(self)
deap/tools/support.py:241
Functionfonseca
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
Methodformat
(self, *args)
deap/gp.py:206
Methodfrom_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
← previousnext →301–400 of 649, ranked by callers