Quadrature
Contains the implementations for the quadrature methods
Implements the supported quadrature methods.
- class calisim.quadrature.implementation.QuadratureMethod(calibration_func: Callable, specification: QuadratureMethodModel, engine: str = 'emukit', implementation: type[CalibrationWorkflowBase] | CalibrationWorkflowBase | None = None)[source]
The quadrature method class.
- pydantic model calisim.quadrature.implementation.QuadratureMethodModel[source]
The quadrature method data model.
- Parameters:
BaseModel (CalibrationModel) – The calibration base model class.
- Config:
arbitrary_types_allowed: bool = True
protected_namespaces: tuple = ()
- Fields:
- field kernel: str | None = 'QuadratureRBFLebesgueMeasure'
The Kernel embeddings for Bayesian quadrature
- field measure: str | None = 'LebesgueMeasure'
The Integration measures
- calisim.quadrature.implementation.get_implementations() dict[str, str][source]
Get the calibration implementations for quadrature.
- Returns:
- The dictionary
of calibration implementations for quadrature.
- Return type:
Dict[str, str]
Emukit
Contains the implementations for Bayesian quadrature methods using Emukit
Implements the supported Bayesian quadrature methods using the Emukit library.
- class calisim.quadrature.emukit_wrapper.EmukitQuadrature(calibration_func: Callable, specification: CalibrationModel, task: str)[source]
The Emukit Bayesian quadrature method class.