Back to home page

EIC code displayed by LXR

 
 

    


Warning, /AID2E-framework/examples/basic/full_example.yml is written in an unsupported language. File is not indexed.

0001 # AID2E Full Example Configuration (DTLZ2 Toy Problem)
0002 # This example demonstrates a multi-objective optimization setup for the DTLZ2 benchmark.
0003 # Design parameters are loaded from an external file (design.params).
0004 
0005 problem:
0006   name: "DTLZ2 Multi-Objective Optimization"
0007   type: "toy"  # Toy benchmark problem
0008 
0009   # Objectives for the optimization. Each objective has a name and direction.
0010   # The objectives returned will be a dictionary with these names as keys.
0011   # example: {"f1": value1, "f2": value2}
0012   objectives:
0013     - name: "f1"
0014       minimize: true
0015     - name: "f2"
0016       minimize: true
0017 
0018   # Design parameters can be loaded from file (path) or defined inline.
0019   # The loader will:
0020   #   - If 'path' is provided: load from that file (must exist)
0021   #   - If 'path' is not provided: use inline parameters directly
0022   #   - If both are provided: raise an error
0023   design_space:
0024     path: "./examples/basic/design.params"
0025     
0026 optimizer:
0027   # Choose optimization algorithm family: "BO" (Bayesian Optimization) or "EA" (Evolutionary Algorithm)
0028   kind: "BO"
0029   max_iterations: 100
0030 
0031   # Configuration specific to Bayesian Optimization (used when kind == "BO")
0032   bo:
0033     surrogate_model:
0034       name: "GaussianProcess"
0035       kernel: "matern52"
0036       noise_level: 1.0e-6
0037       normalize_y: true
0038 
0039     acquisition_function:
0040       name: "qEHVI"  # Expected Hypervolume Improvement (batch)
0041       parameters:
0042         num_mc_samples: 128
0043         objective_thresholds: [0.0, 0.0]
0044 
0045     parameters:
0046       initial_design: "lhs"  # Latin Hypercube Sampling
0047       n_initial_samples: 24
0048       batch_size: 4
0049       parallel_evaluations: 4
0050 
0051   # Alternative configuration for Evolutionary Algorithms (used when kind == "EA")
0052   # Uncomment and set kind: "EA" to use this section instead of BO.
0053   # ea:
0054   #   population_size: 100
0055   #   crossover_rate: 0.9
0056   #   mutation_rate: 0.1
0057   #   selection: "tournament"
0058   #   elitism: 2
0059   #   parameters:
0060   #     max_generations: 80
0061   #     parallel_evaluations: 8
0062 
0063 metadata:
0064   project: "AID2E"
0065   description: "AI assisted Detector Design for EIC"
0066   version: "0.0.1"