# doc-cache created by Octave 5.1.0
# name: cache
# type: cell
# rows: 3
# columns: 5
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
stk_example_doe01


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 462
 STK_EXAMPLE_DOE01  Examples of two-dimensional designs

 All designs are constructed on the hyper-rectangle BOX = [0; 2] x [0; 4].

 Examples of the following designs are shown:
  a) Regular grid                         --> stk_sampling_regulargrid,
  b) "Maximin" latin hypercube sample     --> stk_sampling_maximinlhs,
  c) RR2-scrambled Halton sequence        --> stk_sampling_halton_rr2,
  d) Uniformly distributed random sample  --> stk_sampling_randunif.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 55
 STK_EXAMPLE_DOE01  Examples of two-dimensional designs



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
stk_example_doe02


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 943
 STK_EXAMPLE_DOE02  "Sequential Maximin" design

 In this example, a two-dimensional space-filling design is progressively
 enriched with new points using a "sequential maximin" approach. More
 precisely, the k-th point X(k, :) is selected to maximize the distance to the
 set of all previously selected points X(1, :), X(2, :), ..., X(k-1, :).

 NOTES:

  * The resulting design is NOT optimal with respect to the maximin criterion
    (separation distance).

  * This procedure is not truly a *sequential* design procedure, since the
    choice of the k-th point X(k, :) does NOT depend on the response at the
    previously selected locations X(i, :), i < k.

 REFERENCE

  [1] Emmanuel Vazquez and Julien Bect, "Sequential search based on kriging:
      convergence analysis of some algorithms", In: ISI - 58th World
      Statistics Congress of the International Statistical Institute (ISI'11),
      Dublin, Ireland, August 21-26, 2011.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 47
 STK_EXAMPLE_DOE02  "Sequential Maximin" design



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
stk_example_doe03


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 393
 STK_EXAMPLE_DOE03  A simple illustration of 1D Bayesian optimization

 Our goal here is to optimize (maximize) the one-dimensional function

    x |--> x * sin (x)

 over the interval [0; 4 * pi].

 A Matern 5/2 prior with known parameters is used.

 Evaluations points are chosen sequentially using the Expected Improvement (EI)
 criterion, starting from an initial design of N0 = 3 points.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 69
 STK_EXAMPLE_DOE03  A simple illustration of 1D Bayesian optimization



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
stk_example_doe04


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 611
 STK_EXAMPLE_DOE04  Probability of misclassification

 The upper panel shows posterior means and variances as usual, and the
 threshold of interest, which is at T = 0.85 (dashed line).

 The lower panel shows the probability of misclassification as a function of x
 (blue curve), i.e., the probability that the actual value of the function is
 not on the same side of the threshold as the prediction (posterior mean).

 We also plot the expected future probability of misclassification (magenta
 curve), should a new evaluation be made at x = 3.

 Note that both probabilities are obtained using stk_pmisclass.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 52
 STK_EXAMPLE_DOE04  Probability of misclassification



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
stk_example_doe05


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 346
 STK_EXAMPLE_DOE05  A simple illustration of 1D Bayesian optimization

 Our goal here is to minimize the one-dimensional function

    x |--> x * sin (x)

 over the interval [0; 4 * pi], using noisy evaluations.

 Evaluations points are chosen sequentially using either AKG criterion
 (default) or the EQI criterion (set SAMPCRIT_NAME to 'EQI');



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 69
 STK_EXAMPLE_DOE05  A simple illustration of 1D Bayesian optimization





