Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DEAP/deap
/ functions
Functions
649 in github.com/DEAP/deap
⨍
Functions
649
◇
Types & classes
55
↳
Endpoints
5
Function
rand
r"""Random test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization or max
deap/benchmarks/__init__.py:27
Function
rastrigin
r"""Rastrigin test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:229
Function
rastrigin_arg0
(sol)
doc/code/benchmarks/rastrigin.py:12
Function
rastrigin_scaled
r"""Scaled Rastrigin test objective function. :math:`f_{\text{RastScaled}}(\mathbf{x}) = 10N + \sum_{i=1}^N \ \left(10^{\left(\frac{i-1}{
deap/benchmarks/__init__.py:252
Function
rastrigin_skew
r"""Skewed Rastrigin test objective function. :math:`f_{\text{RastSkew}}(\mathbf{x}) = 10N + \sum_{i=1}^N \left(y_i^2 - 10 \cos(2\pi x_i)\right)
deap/benchmarks/__init__.py:264
Function
rational_polynomial
r"""Rational polynomial ball benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math
deap/benchmarks/gp.py:79
Function
rational_polynomial2
r"""Rational polynomial benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`\ma
deap/benchmarks/gp.py:124
Method
reinsert
Inserts 'node' at the position it had in all lists in [0, 'index'[ before it was removed. This method assumes that the next and previ
deap/tools/_hypervolume/pyhv.py:292
Method
remove
Removes and returns 'node' from all lists in [0, 'index'[.
deap/tools/_hypervolume/pyhv.py:281
Function
ripple
r"""Ripple benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`\mathbf{x} \in [
deap/benchmarks/gp.py:109
Method
root
Root of the tree, the element 0 of the list.
deap/gp.py:170
Function
rosenbrock
r"""Rosenbrock test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:103
Function
rosenbrock_arg0
(sol)
doc/code/benchmarks/rosenbrock.py:13
Function
royal_road2
Royal Road Function R2 as presented by Melanie Mitchell in : "An introduction to Genetic Algorithms".
deap/benchmarks/binary.py:133
Function
salustowicz_1d
r"""Salustowicz benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`x \in [0, 1
deap/benchmarks/gp.py:34
Function
salustowicz_2d
r"""Salustowicz benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`\mathbf{x}
deap/benchmarks/gp.py:49
Method
scale
Set the current scale to *factor*. After decorating the evaluation function, this function will be available directly from the functio
deap/benchmarks/tools.py:200
Function
schaffer
r"""Schaffer test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:278
Function
schaffer_arg0
(sol)
doc/code/benchmarks/schaffer.py:12
Function
schaffer_mo
r"""Schaffer's multiobjective function on a one attribute *individual*. From: J. D. Schaffer, "Multiple objective optimization with vector eva
deap/benchmarks/__init__.py:395
Function
schwefel
r"""Schwefel test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:303
Function
schwefel_arg0
(sol)
doc/code/benchmarks/schwefel.py:12
Function
selAutomaticEpsilonLexicase
Returns an individual that does the best on the fitness cases when considered one at a time in random order. https://push-language.hampsh
deap/tools/selection.py:284
Function
selBest
Select the *k* best individuals among the input *individuals*. The list returned contains references to the input *individuals*. :param indiv
deap/tools/selection.py:27
Function
selDoubleTournament
Tournament selection which use the size of the individuals in order to discriminate good solutions. This kind of tournament is obviously usele
deap/tools/selection.py:106
Function
selEpsilonLexicase
Returns an individual that does the best on the fitness cases when considered one at a time in random order. Requires a epsilon parameter.
deap/tools/selection.py:247
Function
selLexicase
Returns an individual that does the best on the fitness cases when considered one at a time in random order. http://faculty.hampshire.edu/lspe
deap/tools/selection.py:217
Function
selNSGA2
Apply NSGA-II selection operator on the *individuals*. Usually, the size of *individuals* will be larger than *k* because any individual prese
deap/tools/emo.py:15
Function
selRoulette
Select *k* individuals from the input *individuals* using *k* spins of a roulette. The selection is made by looking only at the first objectiv
deap/tools/selection.py:72
Function
selSPEA2
Apply SPEA-II selection operator on the *individuals*. Usually, the size of *individuals* will be larger than *n* because any individual prese
deap/tools/emo.py:705
Function
selStochasticUniversalSampling
Select the *k* individuals among the input *individuals*. The selection is made by using a single random value to sample all of the individual
deap/tools/selection.py:184
Function
selTournament
Select the best individual among *tournsize* randomly chosen individuals, *k* times. The list returned contains references to the input *indiv
deap/tools/selection.py:51
Function
selTournamentDCD
Tournament selection based on dominance (D) between two individuals, if the two individuals do not interdominate the selection is made based o
deap/tools/emo.py:147
Function
selWorst
Select the *k* worst individuals among the input *individuals*. The list returned contains references to the input *individuals*. :param indi
deap/tools/selection.py:39
Method
sense_food
(self)
examples/gp/ant.py:117
Method
setUp
(self)
tests/test_operators.py:8
Method
setUp
(self)
tests/test_pickle.py:24
Method
setUp
(self)
tests/test_logbook.py:8
Method
setUp
(self)
tests/test_convergence.py:47
Method
setUp
(self)
tests/test_convergence.py:143
Method
setUp
(self)
tests/test_convergence.py:269
Method
setUp
(self)
tests/test_convergence.py:372
Method
setUp
(self)
tests/test_benchmarks.py:13
Method
setValues
(self, values)
deap/base.py:187
Function
setup_teardown_multi_obj
()
tests/test_algorithms.py:50
Function
setup_teardown_multi_obj_numpy
()
tests/test_algorithms.py:58
Function
setup_teardown_single_obj
()
tests/test_algorithms.py:42
Function
shekel
r"""The Shekel multimodal function can have any number of maxima. The number of maxima is given by the length of any of the arguments *a* or *c*,
deap/benchmarks/__init__.py:356
Function
shekel_arg0
(sol)
doc/code/benchmarks/shekel.py:20
Function
sin_cos
r"""Sine cosine benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`\mathbf{x}
deap/benchmarks/gp.py:94
Function
sphere
(individual, position, height, width)
deap/benchmarks/movingpeaks.py:46
Function
sphere
r"""Sphere test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:65
Function
staticLimit
Implement a static limit on some measurement on a GP tree, as defined by Koza in [Koza1989]. It may be used to decorate both crossover and mut
deap/gp.py:904
Method
stream
Retrieve the formatted not streamed yet entries of the database including the headers. :: >>> log = Logbook()
deap/tools/support.py:382
Method
tearDown
(self)
tests/test_creator.py:31
Method
tearDown
(self)
tests/test_pickle.py:34
Method
tearDown
(self)
tests/test_convergence.py:40
Method
tearDown
(self)
tests/test_benchmarks.py:25
Method
terminalRatio
Return the ratio of the number of terminals on the number of all kind of primitives.
deap/gp.py:439
Method
test_array
(self)
tests/test_creator.py:44
Method
test_attribute
(self)
tests/test_creator.py:39
Method
test_bin2float
(self)
tests/test_benchmarks.py:28
Function
test_cma
(setup_teardown_single_obj)
tests/test_algorithms.py:65
Method
test_cma
(self)
tests/test_convergence.py:51
Method
test_cma_mixed_integer_1_p_1_no_constraint
(self)
tests/test_convergence.py:69
Method
test_cma_mixed_integer_1_p_1_with_constraint
(self)
tests/test_convergence.py:148
Method
test_cma_mixed_integer_1_p_20_no_constraint
(self)
tests/test_convergence.py:105
Method
test_cma_mixed_integer_1_p_20_with_constraint
(self)
tests/test_convergence.py:208
Method
test_create
(self)
tests/test_creator.py:34
Method
test_crossover
(self)
tests/test_operators.py:11
Method
test_crossover_identical
(self)
tests/test_operators.py:24
Function
test_mo_cma_es
(setup_teardown_multi_obj_numpy)
tests/test_algorithms.py:131
Method
test_mo_cma_es
(self)
tests/test_convergence.py:376
Method
test_multi_chapters
(self)
tests/test_logbook.py:12
Method
test_multi_statistics_compile
(self)
tests/test_statistics.py:20
Function
test_multiproc
()
tests/test_multiproc.py:12
Method
test_mutInversion_difference_of_one_random_indices_returns_unchanged_chromosome_in_tuple
(self, mock_randrange)
tests/test_mutation.py:27
Method
test_mutInversion_full_length_random_indices_returns_reversed_chromosome_in_tuple
(self, mock_randrange)
tests/test_mutation.py:34
Method
test_mutInversion_general_case_returns_correctly_mutated_chromosome_in_tuple
(self, mock_randrange)
tests/test_mutation.py:41
Method
test_mutInversion_same_random_indices_returns_unchanged_chromosome_in_tuple
(self, mock_randrange)
tests/test_mutation.py:20
Method
test_mutInversion_size_one_chromosome_returns_unchanged_chromosome_in_tuple
(self)
tests/test_mutation.py:14
Method
test_mutInverstion_size_zero_chromosome_returns_unchanged_chromosome_in_tuple
(self)
tests/test_mutation.py:9
Method
test_no_chapters
(self)
tests/test_logbook.py:33
Function
test_nsga2
(setup_teardown_multi_obj)
tests/test_algorithms.py:81
Method
test_nsga2
(self)
tests/test_convergence.py:273
Function
test_nsga3
(setup_teardown_multi_obj)
tests/test_algorithms.py:200
Method
test_nsga3
(self)
tests/test_convergence.py:323
Method
test_numpy_copy
(self)
tests/test_creator.py:68
Method
test_numpy_nocopy
(self)
tests/test_creator.py:56
Method
test_one_big_chapter
(self)
tests/test_logbook.py:28
Method
test_one_chapter
(self)
tests/test_logbook.py:23
Method
test_pickle_delete_ind_list
(self)
tests/test_pickle.py:73
Method
test_pickle_fitness
(self)
tests/test_pickle.py:41
Method
test_pickle_ind_array
(self)
tests/test_pickle.py:56
Method
test_pickle_ind_list
(self)
tests/test_pickle.py:48
Method
test_pickle_ind_ndarray
(self)
tests/test_pickle.py:65
Method
test_pickle_logbook
(self)
tests/test_pickle.py:149
Method
test_pickle_partial
(self)
tests/test_pickle.py:163
Method
test_pickle_population
(self)
tests/test_pickle.py:127
Method
test_pickle_tree_ephemeral
(self)
tests/test_pickle.py:112
← previous
next →
501–600 of 649, ranked by callers