Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gpxrl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trust-ai
xrl
gpxrl
Commits
d1d3530d
Commit
d1d3530d
authored
3 years ago
by
VIDEAU Mathurin
Browse files
Options
Downloads
Patches
Plain Diff
Update algorithms.py
parent
775ac44b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GPRL/algorithms.py
+1
-1
1 addition, 1 deletion
GPRL/algorithms.py
with
1 addition
and
1 deletion
GPRL/algorithms.py
+
1
−
1
View file @
d1d3530d
...
@@ -54,7 +54,7 @@ def eaMuPlusLambdaUCB(population, toolbox, simulation_budget, parallel_update, m
...
@@ -54,7 +54,7 @@ def eaMuPlusLambdaUCB(population, toolbox, simulation_budget, parallel_update, m
# Begin the generational process
# Begin the generational process
for
gen
in
range
(
1
,
ngen
+
1
):
for
gen
in
range
(
1
,
ngen
+
1
):
if
budget_scheduler
is
not
None
:
if
budget_scheduler
is
not
None
:
simulation_budget
,
parallel_update
=
budget_scheduler
(
n
gen
,
population
,
simulation_budget
,
parallel_update
)
simulation_budget
,
parallel_update
=
budget_scheduler
(
gen
,
population
,
simulation_budget
,
parallel_update
)
# Vary the population
# Vary the population
offspring
=
algorithms
.
varOr
(
population
,
toolbox
,
lambda_
,
cxpb
,
mutpb
)
offspring
=
algorithms
.
varOr
(
population
,
toolbox
,
lambda_
,
cxpb
,
mutpb
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment