Content deleted Content added
→Software implementations: Add CEopt Matlab package to the list. |
|||
(14 intermediate revisions by 9 users not shown) | |||
Line 1:
{{Short description|Monte Carlo method for importance sampling and optimization}}
The '''cross-entropy''' ('''CE''') '''method''' is a [[Monte Carlo method|Monte Carlo]] method for [[importance sampling]] and [[Optimization (mathematics)|optimization]]. It is applicable to both [[Combinatorial optimization|combinatorial]] and [[Continuous optimization|continuous]] problems, with either a static or noisy objective.
The method approximates the optimal importance sampling estimator by repeating two phases:<ref>Rubinstein, R.Y. and Kroese, D.P. (2004), The Cross-Entropy Method: A Unified Approach to Combinatorial Optimization, Monte-Carlo Simulation, and Machine Learning, Springer-Verlag, New York {{ISBN|978-0-387-21240-1}}.</ref>
#Draw a sample from a [[probability distribution]].
#Minimize the ''[[
[[Reuven Rubinstein]] developed the method in the context of ''rare
==Estimation via importance sampling==
Line 26 ⟶ 27:
# Choose initial parameter vector <math>\mathbf{v}^{(0)}</math>; set t = 1.
# Generate a random sample <math>\mathbf{X}_1,\dots,\mathbf{X}_N</math> from <math>f(\cdot;\mathbf{v}^{(t-1)})</math>
# Solve for <math>\mathbf{v}^{(t)}</math>, where<br><math>\mathbf{v}^{(t)} = \mathop{\textrm{argmax}}_{\mathbf{
# If convergence is reached then '''stop'''; otherwise, increase t by 1 and reiterate from step 2.
Line 67 ⟶ 68:
''// Sort X by objective function values in descending order''
X := sort(X, S)
''// Update parameters of sampling distribution via elite samples''
μ := mean(X(1:Ne))
σ2 := var(X(1:Ne))
t := t + 1
''// Return mean of final sampling distribution as solution''
'''return''' &mu
==Related methods==
Line 81 ⟶ 82:
* [[Tabu search]]
* [[Natural Evolution Strategy]]
* [[Ant colony optimization algorithms]]
==See also==
Line 89 ⟶ 91:
== Journal papers ==
* De Boer, P.-T., Kroese, D.P., Mannor, S. and Rubinstein, R.Y. (2005). A Tutorial on the Cross-Entropy Method. ''Annals of Operations Research'', '''134''' (1), 19–67.[http://www.maths.uq.edu.au/~kroese/ps/aortut.pdf]
*Rubinstein, R.Y. (1997). Optimization of Computer
==Software implementations==
* [https://ceopt.org '''CEopt''' Matlab package]
* [https://cran.r-project.org/web/packages/CEoptim/index.html '''CEoptim''' R package]
* [https://www.nuget.org/packages/Novacta.Analytics '''Novacta.Analytics''' .NET library]
==References==
|