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

OpenersNotesSection(Spacer1)Details and Options

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

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

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

Possible properties for the minimization of a function f include:

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Maximize a function over an interval region via (RefLink[BayesianMaximization, paclet:ref/BayesianMaximization]) to create a (RefLink[BayesianMaximizationObject, paclet:ref/BayesianMaximizationObject])[…]:

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

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

bo["Properties"]

Get the estimated maximum configuration:

bo["MaximumConfiguration"]

Get the estimated maximum value:

bo["MaximumValue"]

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

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 maximum:

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

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

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