Idris2Doc : BayesianOptimization.Acquisition

BayesianOptimization.Acquisition

Acquisition functions for Bayesian optimization.

Reexports

importpublic Data.Nat

Definitions

recordDataModel : (modelType : Type) ->ProbabilisticModelftmarginalmodelType=>Type
  A `DataModel` packages data with a model over that data.

Totality: total
Visibility: public export
Constructor: 
MkDataModel : modelType->Datasetft->DataModelmodelType

Projections:
.dataset : DataModelmodelType->Datasetft
  The data the model is trained on
.model : DataModelmodelType->modelType
  A probabilistic model
.model : DataModelmodelType->modelType
  A probabilistic model

Totality: total
Visibility: public export
.dataset : DataModelmodelType->Datasetft
  The data the model is trained on

Totality: total
Visibility: public export
0Acquisition : (0batchSize : Nat) -> {auto0_ : GTbatchSize0} -> (0_ : Shape) ->Type
  An `Acquisition` function quantifies how useful it would be to query the objective at a given  
set of points, towards the goal of optimizing the objective.

@batchSize The number of points in the feature domain that the `Acquisition` evaluates
at once.
@features The shape of the feature domain.

Totality: total
Visibility: public export
expectedImprovement : ProbabilisticModelfeatures [1] Gaussianm=>m->Tensor [] F64->Acquisition1features
  Construct the acquisition function that estimates the absolute improvement in the best
observation if we were to evaluate the objective at a given point.

@model The model over the historic data.
@best The current best observation.

Totality: total
Visibility: export
expectedImprovementByModel : {auto{conArg:7065} : ProbabilisticModelfeatures [1] GaussianmodelType} ->ReaderT (DataModelmodelType) Tag (Acquisition1features)
  Build an acquisition function that returns the absolute improvement, expected by the model, in
the observation value at each point.

Totality: total
Visibility: export
probabilityOfFeasibility : Tensor [] F64->ClosedFormDistribution [1] dist=> {auto{conArg:7250} : ProbabilisticModelfeatures [1] distmodelType} ->ReaderT (DataModelmodelType) Tag (Acquisition1features)
  Build an acquisition function that returns the probability that any given point will take a
value less than the specified `limit`.

Totality: total
Visibility: export
negativeLowerConfidenceBound : (beta : Double) -> {auto0_ : beta>=0.0=True} -> {auto{conArg:7372} : ProbabilisticModelfeatures [1] GaussianmodelType} ->ReaderT (DataModelmodelType) Tag (Acquisition1features)
  Build an acquisition function that returns the negative of the lower confidence bound of the
probabilistic model. The variance contribution is weighted by a factor `beta`.

@beta The weighting given to the variance contribution.

Totality: total
Visibility: export
expectedConstrainedImprovement : Tensor [] F64-> {auto{conArg:7538} : ProbabilisticModelfeatures [1] GaussianmodelType} ->ReaderT (DataModelmodelType) Tag (Acquisition1features->Acquisition1features)
  Build the expected improvement acquisition function in the context of a constraint on the input
domain, where points that do not satisfy the constraint do not offer an improvement. The
complete acquisition function is built from a constraint acquisition function, which quantifies
whether specified points in the input space satisfy the constraint.

**NOTE** This function is not yet implemented.