AssumeDeterministic

AssumeDeterministic

is an option for functions such as BayesianMinimization that specifies whether or not the function being considered should be assumed to be deterministic.

Details

  • With AssumeDeterministic->True, the function f being considered is assumed to be deterministic, so that f[conf] always gives the same value for a given configuration conf.
  • With AssumeDeterministic->False, the function f being considered is assumed to be not necessarily deterministic, so that f[conf] can give different values on different evaluations when the configuration conf is the same.
  • The typical default setting is AssumeDeterministic->False.

Examples

open allclose all

Basic Examples  (1)

Minimize a function over a region using BayesianMinimization with the specification that the function is deterministic:

Get the estimated minimum configuration:

Get the estimated minimum value:

For a deterministic function, the model value agrees to good precision with the function value for evaluated configurations:

Scope  (1)

Define a function over a domain defined by a random generator with no specifications:

Minimize the function using BayesianMinimization without any specifications:

Get the minimum configuration and minimum value:

The function is assumed to be stochastic: the model value at the minimum configuration may differ from the function value:

Include information that the function is deterministic:

Get the minimum configuration and minimum value for the deterministic case:

Now the model value and function value at the minimum configuration agree to a good precision:

Wolfram Research (2016), AssumeDeterministic, Wolfram Language function, https://reference.wolfram.com/language/ref/AssumeDeterministic.html.

Text

Wolfram Research (2016), AssumeDeterministic, Wolfram Language function, https://reference.wolfram.com/language/ref/AssumeDeterministic.html.

CMS

Wolfram Language. 2016. "AssumeDeterministic." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AssumeDeterministic.html.

APA

Wolfram Language. (2016). AssumeDeterministic. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AssumeDeterministic.html

BibTeX

@misc{reference.wolfram_2024_assumedeterministic, author="Wolfram Research", title="{AssumeDeterministic}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/AssumeDeterministic.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_assumedeterministic, organization={Wolfram Research}, title={AssumeDeterministic}, year={2016}, url={https://reference.wolfram.com/language/ref/AssumeDeterministic.html}, note=[Accessed: 22-December-2024 ]}