uo.algorithm.metaheuristic.maml_metaheuristic package
Submodules
uo.algorithm.metaheuristic.maml_metaheuristic.maml_metaheuristic module
- class uo.algorithm.metaheuristic.maml_metaheuristic.maml_metaheuristic.DummyProblem
Bases:
Problem- copy()
Copy the current object
- Returns:
new instance with the same properties
- Return type:
Problem
- class uo.algorithm.metaheuristic.maml_metaheuristic.maml_metaheuristic.MAMLMetaheuristic(tasks: Sequence[Callable[[ndarray], float]], alpha: float = 0.01, beta: float = 0.001, inner_steps: int = 1, outer_steps: int = 1000, seed: int | None = None)
Bases:
PopulationBasedMetaheuristicModel-Agnostic Meta-Learning (MAML) metaheuristic for few-shot optimization. Learns initialization parameters that can be quickly adapted to new tasks.
- copy() MAMLMetaheuristic
Return a shallow copy of this instance.