Description Usage Arguments Value Methods (by generic) Examples
Unconstraint optimisation of noisy functions through the cross-entropy algorithm.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | noisyCE2(
f,
domain,
...,
rho = 0.05,
N = 1000,
smooth = NULL,
stopwindow = tail(gam, (n > 20) * n/2),
stoprule = ts_change(x),
maxiter = 1000,
maximise = TRUE,
verbose = "v"
)
## S3 method for class 'noisyCE2'
print(x, ...)
## S3 method for class 'noisyCE2'
summary(object, ...)
## S3 method for class 'noisyCE2'
plot(x, what = c("x", "gam", "param"), start = NULL, end = NULL, ...)
## S3 method for class 'noisyCE2'
coef(object, ...)
|
f |
objective function which takes the vector of optimisation variables as first argument. |
domain |
a |
... |
other arguments to be passed to |
rho |
parameter ρ of the Cross-Entropy algorithm. This argument
may be passed either as a numeric value in (0,1) or as an unevaluated
expression which may include the number of current iteration |
N |
parameter N of the Cross-Entropy algorithm. This argument
may be passed either as a positive integer or as an unevaluated expression
which may include the number of current iteration |
smooth |
list of unevaluated expressions to be used as smoothing rules
for the parameters of the sampling probability distributions of all
variables. If not |
stopwindow |
unevaluated expression returning the object to be passed to
the stopping rule. Symbol |
stoprule |
stopping rule passed as an unevaluated expression including
|
maxiter |
maximum number of iteration. When it is reached, algorithm is
stopped whether or not the stopping criterion is satisfied. If the maximum
number of iteration is reached, the |
maximise |
if |
verbose |
algorithm verbosity (values |
x, object |
object of class |
what |
type of plot should be drawn. If |
start, end |
first and last value to be plotted. If |
An object of class noisyCE2
structured as a list with the following
components:
f |
argument |
fobj |
objective function |
xopt |
|
hxopt |
matrix of |
param |
|
gam |
vector of values γ_t. |
niter |
number of iterations. |
code |
convergence code of the algorithm. Value |
convMess |
textual message associated to the convergence code (if any). |
compTimes |
named vector computation times of each phase. |
print
: display synthetic information about a noisyCE2
object
summary
: display summary information about a noisyCE2
object
plot
: plot various components of a noisyCE2
object
coef
: get the solution of the optimisation
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.