Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logic for running a decision making loop #365

Commits on Aug 25, 2023

  1. Add logic for running a decision making loop

    Added an `AbstractDecisionMaker` abstract base class which can be
    implemented in order to define a decision making loop.
    
    A concrete implementation, in the form of a `DecisionMaker` class,
    has been added. At its heart it has two core methods:
    1. `ask` which is used to get a point to be queried next.
    2. `tell` which is used to tell the `DecisionMaker` about new
       observations. In a typical decision making setup this will result in
       the datsets and posteriors being updated.
    
    In addition to this, in the `DecisionMaker` a `run` method is provided,
    which will automatically run the decision making loop for n steps. After
    the `ask` step, the functions in the `post_ask` list will be executed,
    taking as arguments the decision maker and the point chosen to be
    queried next. Similarly, after the `tell` step, the functions in
    the `post_tell` list are executed, taking the decision maker as the sole
    argument.
    Thomas-Christie committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    4b19843 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Implement CR feedback and change acquisition function naming

    Implemented minor CR feedback and renamed acquisition functions to
    utility functions to reflect the fact that the package will be used for
    general Bayesian decision making and not just Bayesian optimisation.
    Thomas-Christie committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    f6aa6d4 View commit details
    Browse the repository at this point in the history