Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Best point in a Bayesian optimization according to a criterion

`x = bestPoint(results)`

`x = bestPoint(results,Name,Value)`

```
[x,CriterionValue]
= bestPoint(___)
```

```
[x,CriterionValue,iteration]
= bestPoint(___)
```

modifies the best point using name-value pairs.`x`

= bestPoint(`results`

,`Name,Value`

)

`[`

,
for any previous syntax, also returns the value of the criterion at
`x`

,`CriterionValue`

]
= bestPoint(___)`x`

.

`[`

also returns the iteration number at which the best point was returned. Applies when
the `x`

,`CriterionValue`

,`iteration`

]
= bestPoint(___)`Criterion`

name-value pair is
`'min-observed'`

, `'min-visited-mean'`

, or the
default `'min-visited-upper-confidence-interval'`

.