MCPcopy Create free account

hub / github.com/DEAP/deap / functions

Functions649 in github.com/DEAP/deap

Functionrand
r"""Random test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization or max
deap/benchmarks/__init__.py:27
Functionrastrigin
r"""Rastrigin test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:229
Functionrastrigin_arg0
(sol)
doc/code/benchmarks/rastrigin.py:12
Functionrastrigin_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
Functionrastrigin_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
Functionrational_polynomial
r"""Rational polynomial ball benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math
deap/benchmarks/gp.py:79
Functionrational_polynomial2
r"""Rational polynomial benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`\ma
deap/benchmarks/gp.py:124
Methodreinsert
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
Methodremove
Removes and returns 'node' from all lists in [0, 'index'[.
deap/tools/_hypervolume/pyhv.py:281
Functionripple
r"""Ripple benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`\mathbf{x} \in [
deap/benchmarks/gp.py:109
Methodroot
Root of the tree, the element 0 of the list.
deap/gp.py:170
Functionrosenbrock
r"""Rosenbrock test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:103
Functionrosenbrock_arg0
(sol)
doc/code/benchmarks/rosenbrock.py:13
Functionroyal_road2
Royal Road Function R2 as presented by Melanie Mitchell in : "An introduction to Genetic Algorithms".
deap/benchmarks/binary.py:133
Functionsalustowicz_1d
r"""Salustowicz benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`x \in [0, 1
deap/benchmarks/gp.py:34
Functionsalustowicz_2d
r"""Salustowicz benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`\mathbf{x}
deap/benchmarks/gp.py:49
Methodscale
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
Functionschaffer
r"""Schaffer test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:278
Functionschaffer_arg0
(sol)
doc/code/benchmarks/schaffer.py:12
Functionschaffer_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
Functionschwefel
r"""Schwefel test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:303
Functionschwefel_arg0
(sol)
doc/code/benchmarks/schwefel.py:12
FunctionselAutomaticEpsilonLexicase
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
FunctionselBest
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
FunctionselDoubleTournament
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
FunctionselEpsilonLexicase
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
FunctionselLexicase
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
FunctionselNSGA2
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
FunctionselRoulette
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
FunctionselSPEA2
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
FunctionselStochasticUniversalSampling
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
FunctionselTournament
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
FunctionselTournamentDCD
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
FunctionselWorst
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
Methodsense_food
(self)
examples/gp/ant.py:117
MethodsetUp
(self)
tests/test_operators.py:8
MethodsetUp
(self)
tests/test_pickle.py:24
MethodsetUp
(self)
tests/test_logbook.py:8
MethodsetUp
(self)
tests/test_convergence.py:47
MethodsetUp
(self)
tests/test_convergence.py:143
MethodsetUp
(self)
tests/test_convergence.py:269
MethodsetUp
(self)
tests/test_convergence.py:372
MethodsetUp
(self)
tests/test_benchmarks.py:13
MethodsetValues
(self, values)
deap/base.py:187
Functionsetup_teardown_multi_obj
()
tests/test_algorithms.py:50
Functionsetup_teardown_multi_obj_numpy
()
tests/test_algorithms.py:58
Functionsetup_teardown_single_obj
()
tests/test_algorithms.py:42
Functionshekel
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
Functionshekel_arg0
(sol)
doc/code/benchmarks/shekel.py:20
Functionsin_cos
r"""Sine cosine benchmark function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Range - :math:`\mathbf{x}
deap/benchmarks/gp.py:94
Functionsphere
(individual, position, height, width)
deap/benchmarks/movingpeaks.py:46
Functionsphere
r"""Sphere test objective function. .. list-table:: :widths: 10 50 :stub-columns: 1 * - Type - minimization
deap/benchmarks/__init__.py:65
FunctionstaticLimit
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
Methodstream
Retrieve the formatted not streamed yet entries of the database including the headers. :: >>> log = Logbook()
deap/tools/support.py:382
MethodtearDown
(self)
tests/test_creator.py:31
MethodtearDown
(self)
tests/test_pickle.py:34
MethodtearDown
(self)
tests/test_convergence.py:40
MethodtearDown
(self)
tests/test_benchmarks.py:25
MethodterminalRatio
Return the ratio of the number of terminals on the number of all kind of primitives.
deap/gp.py:439
Methodtest_array
(self)
tests/test_creator.py:44
Methodtest_attribute
(self)
tests/test_creator.py:39
Methodtest_bin2float
(self)
tests/test_benchmarks.py:28
Functiontest_cma
(setup_teardown_single_obj)
tests/test_algorithms.py:65
Methodtest_cma
(self)
tests/test_convergence.py:51
Methodtest_cma_mixed_integer_1_p_1_no_constraint
(self)
tests/test_convergence.py:69
Methodtest_cma_mixed_integer_1_p_1_with_constraint
(self)
tests/test_convergence.py:148
Methodtest_cma_mixed_integer_1_p_20_no_constraint
(self)
tests/test_convergence.py:105
Methodtest_cma_mixed_integer_1_p_20_with_constraint
(self)
tests/test_convergence.py:208
Methodtest_create
(self)
tests/test_creator.py:34
Methodtest_crossover
(self)
tests/test_operators.py:11
Methodtest_crossover_identical
(self)
tests/test_operators.py:24
Functiontest_mo_cma_es
(setup_teardown_multi_obj_numpy)
tests/test_algorithms.py:131
Methodtest_mo_cma_es
(self)
tests/test_convergence.py:376
Methodtest_multi_chapters
(self)
tests/test_logbook.py:12
Methodtest_multi_statistics_compile
(self)
tests/test_statistics.py:20
Functiontest_multiproc
()
tests/test_multiproc.py:12
Methodtest_mutInversion_difference_of_one_random_indices_returns_unchanged_chromosome_in_tuple
(self, mock_randrange)
tests/test_mutation.py:27
Methodtest_mutInversion_full_length_random_indices_returns_reversed_chromosome_in_tuple
(self, mock_randrange)
tests/test_mutation.py:34
Methodtest_mutInversion_general_case_returns_correctly_mutated_chromosome_in_tuple
(self, mock_randrange)
tests/test_mutation.py:41
Methodtest_mutInversion_same_random_indices_returns_unchanged_chromosome_in_tuple
(self, mock_randrange)
tests/test_mutation.py:20
Methodtest_mutInversion_size_one_chromosome_returns_unchanged_chromosome_in_tuple
(self)
tests/test_mutation.py:14
Methodtest_mutInverstion_size_zero_chromosome_returns_unchanged_chromosome_in_tuple
(self)
tests/test_mutation.py:9
Methodtest_no_chapters
(self)
tests/test_logbook.py:33
Functiontest_nsga2
(setup_teardown_multi_obj)
tests/test_algorithms.py:81
Methodtest_nsga2
(self)
tests/test_convergence.py:273
Functiontest_nsga3
(setup_teardown_multi_obj)
tests/test_algorithms.py:200
Methodtest_nsga3
(self)
tests/test_convergence.py:323
Methodtest_numpy_copy
(self)
tests/test_creator.py:68
Methodtest_numpy_nocopy
(self)
tests/test_creator.py:56
Methodtest_one_big_chapter
(self)
tests/test_logbook.py:28
Methodtest_one_chapter
(self)
tests/test_logbook.py:23
Methodtest_pickle_delete_ind_list
(self)
tests/test_pickle.py:73
Methodtest_pickle_fitness
(self)
tests/test_pickle.py:41
Methodtest_pickle_ind_array
(self)
tests/test_pickle.py:56
Methodtest_pickle_ind_list
(self)
tests/test_pickle.py:48
Methodtest_pickle_ind_ndarray
(self)
tests/test_pickle.py:65
Methodtest_pickle_logbook
(self)
tests/test_pickle.py:149
Methodtest_pickle_partial
(self)
tests/test_pickle.py:163
Methodtest_pickle_population
(self)
tests/test_pickle.py:127
Methodtest_pickle_tree_ephemeral
(self)
tests/test_pickle.py:112
← previousnext →501–600 of 649, ranked by callers