QDpy
Loading...
Searching...
No Matches
few_shot_qd.py File Reference

Reproduce comparisons for initialization priors, multimodal search, and semantic Pareto fronts. More...

Go to the source code of this file.

Functions

 few_shot_qd.task_grid (task)
 few_shot_qd.evaluate_design (task, genome)
 few_shot_qd.mutate_design (genome, rng)
 few_shot_qd.transfer_trial (seed, budget)
 few_shot_qd.basin_cost (genome)
 few_shot_qd.basin_trial (seed, budget)
 few_shot_qd.schedule (rule, case)
 few_shot_qd.schedule_metrics (rule, cases)
 few_shot_qd.schedule_proposal (parents, rng)
 few_shot_qd.semantic_trial (seed, budget)

Detailed Description

Reproduce comparisons for initialization priors, multimodal search, and semantic Pareto fronts.

Definition in file few_shot_qd.py.

Function Documentation

◆ basin_cost()

few_shot_qd.basin_cost ( genome)
Use a cost with three separated, equally good analytic minima.

Definition at line 79 of file few_shot_qd.py.

◆ basin_trial()

few_shot_qd.basin_trial ( seed,
budget )
Compare plateau-free basin discovery at a matched objective-call budget.

Definition at line 84 of file few_shot_qd.py.

◆ evaluate_design()

few_shot_qd.evaluate_design ( task,
genome )
Score proximity in physical coordinates and report one independent style axis.

Definition at line 25 of file few_shot_qd.py.

◆ mutate_design()

few_shot_qd.mutate_design ( genome,
rng )
Perturb a real genome within the design bounds.

Definition at line 32 of file few_shot_qd.py.

◆ schedule()

few_shot_qd.schedule ( rule,
case )
Return a job order and the number of priority terms evaluated.

Definition at line 124 of file few_shot_qd.py.

◆ schedule_metrics()

few_shot_qd.schedule_metrics ( rule,
cases )
Measure normalized weighted tardiness and normalized priority work.

Definition at line 144 of file few_shot_qd.py.

◆ schedule_proposal()

few_shot_qd.schedule_proposal ( parents,
rng )
Mutate one scheduling field, optionally blending two parents' rules.

Definition at line 156 of file few_shot_qd.py.

◆ semantic_trial()

few_shot_qd.semantic_trial ( seed,
budget )
Compare clustered and global Pareto retention on held-out job schedules.

Definition at line 180 of file few_shot_qd.py.

◆ task_grid()

few_shot_qd.task_grid ( task)
Use style as the descriptor when looking for several designs near a target.

Definition at line 20 of file few_shot_qd.py.

◆ transfer_trial()

few_shot_qd.transfer_trial ( seed,
budget )
Compare priors on held-out designs under a shared per-task search cap.

Definition at line 37 of file few_shot_qd.py.