({{, (RefLink[BayesianMinimizationObject, paclet:ref/BayesianMinimizationObject])[…]
represents the result of a Bayesian minimization process. }})

OpenersNotesSection(Spacer1)Details and Options

(RefLink[BayesianMinimizationObject, paclet:ref/BayesianMinimizationObject])[…] is the result generated by (RefLink[BayesianMinimization, paclet:ref/BayesianMinimization])[…].

(RefLink[BayesianMinimizationObject, paclet:ref/BayesianMinimizationObject])[…][prop] gives the property prop of the Bayesian minimization object.

(RefLink[BayesianMinimizationObject, paclet:ref/BayesianMinimizationObject])[…][{(Subscript[prop, 1]),(Subscript[prop, 2]), …}] gives the list of properties {(Subscript[prop, 1]),(Subscript[prop, 2]),…}.

Possible properties for minimization of a function f include:

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Minimize a function over an interval region via (RefLink[BayesianMinimization, paclet:ref/BayesianMinimization]) to create a (RefLink[BayesianMinimizationObject, paclet:ref/BayesianMinimizationObject])[…]:

bo =BayesianMinimization[(#- 2)^2+1&,Interval[{0,5}]]

Use the (RefLink[BayesianMinimizationObject, paclet:ref/BayesianMinimizationObject])[…] to find the available properties:

bo["Properties"]

Get the estimated minimum configuration:

bo["MinimumConfiguration"]

Get the estimated minimum value:

bo["MinimumValue"]

Get the list of configurations and function values explored during the minimization:

bo["EvaluationHistory"]//Normal

Get information about the method used to explore configurations:

bo["Method"]

Get the current probabilistic model of the function (this is a (RefLink[PredictorFunction, paclet:ref/PredictorFunction])):

p=bo["PredictorFunction"]

Find the best configuration to explore next according to the model:

bo["NextConfiguration"]

Get information about a list of properties simultaneously:

bo[{"NextConfiguration", "Method", "ObjectiveFunction"}]

Visualize how well the function is modeled, particularly near the minimum:

Plot[{(x-2)^2+1,p[{x}]}, {x, 0,5}, PlotLegends->{"function", "model"}, Exclusions-> False ]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[BayesianMinimization, paclet:ref/BayesianMinimization])  ▪  (RefLink[BayesianMaximizationObject, paclet:ref/BayesianMaximizationObject])  ▪  (RefLink[PredictorFunction, paclet:ref/PredictorFunction])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Optimization, paclet:guide/Optimization])}})}})