Policy¶
- class probnum.quad.solvers.policies.Policy(batch_size)¶
Bases:
ABCAn abstract class for a policy that acquires nodes for Bayesian quadrature.
- Parameters:
batch_size (IntLike) – Size of batch of nodes when calling the policy once.
Attributes Summary
Whether the policy requires a random number generator when called.
Methods Summary
__call__(bq_state, rng)Find nodes according to the policy.
Attributes Documentation
- requires_rng¶
Whether the policy requires a random number generator when called.
Methods Documentation