record DataModel : (modelType : Type) -> ProbabilisticModel f t marginal modelType => Type
A `DataModel` packages data with a model over that data.
Totality: total
Visibility: public export
Constructor: MkDataModel : modelType -> Dataset f t -> DataModel modelType
Projections:
.dataset : DataModel modelType -> Dataset f t
The data the model is trained on
.model : DataModel modelType -> modelType
A probabilistic model
.model : DataModel modelType -> modelType
A probabilistic model
Totality: total
Visibility: public export.dataset : DataModel modelType -> Dataset f t
The data the model is trained on
Totality: total
Visibility: public export0 Acquisition : (0 batchSize : Nat) -> {auto 0 _ : GT batchSize 0} -> (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 exportexpectedImprovement : ProbabilisticModel features [1] Gaussian m => m -> Tensor [] F64 -> Acquisition 1 features
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: exportexpectedImprovementByModel : {auto {conArg:7065} : ProbabilisticModel features [1] Gaussian modelType} -> ReaderT (DataModel modelType) Tag (Acquisition 1 features)
Build an acquisition function that returns the absolute improvement, expected by the model, in
the observation value at each point.
Totality: total
Visibility: exportprobabilityOfFeasibility : Tensor [] F64 -> ClosedFormDistribution [1] dist => {auto {conArg:7250} : ProbabilisticModel features [1] dist modelType} -> ReaderT (DataModel modelType) Tag (Acquisition 1 features)
Build an acquisition function that returns the probability that any given point will take a
value less than the specified `limit`.
Totality: total
Visibility: exportnegativeLowerConfidenceBound : (beta : Double) -> {auto 0 _ : beta >= 0.0 = True} -> {auto {conArg:7372} : ProbabilisticModel features [1] Gaussian modelType} -> ReaderT (DataModel modelType) Tag (Acquisition 1 features)
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: exportexpectedConstrainedImprovement : Tensor [] F64 -> {auto {conArg:7538} : ProbabilisticModel features [1] Gaussian modelType} -> ReaderT (DataModel modelType) Tag (Acquisition 1 features -> Acquisition 1 features)
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.