Skip to content

Add user input acquisition function? #48

@xinyuz1996

Description

@xinyuz1996

May I inquire about the possibility of writing a user input acquisition function and passing it into the function calcAcq()?
For instance, if a user defines beta() <- function(mu, sigma, t){} outside the package, where t is the current epoch of iteration, is it possible for the following code to be added into calcAcq()? (e.g. Line 34 of calcAcq.R)

else if (acq == "ucb2") {
t = current epoch # Is it able to fetch
beta_out = beta(fGP_Pred$mean, GP_Pred$sd, t)
return((GP_Pred$mean + beta_out * (GP_Pred$sd)))
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions