Cross-entropy in R

The cross entropy method is a general approach to optimization that relies in two nice ideas. In the context of finding the maximum of a scalar-valued function this means: Generate some random parameters and evaluate the function there. Use the best values of the parameter to generate new candidates. One simple way of generating such […]