whv_hype {moocore} | R Documentation |
Approximation of the (weighted) hypervolume by Monte-Carlo sampling (2D only)
Description
Return an estimation of the hypervolume of the space dominated by the input data following the procedure described by Auger et al. (2009). A weight distribution describing user preferences may be specified.
Usage
whv_hype(
x,
reference,
ideal,
maximise = FALSE,
dist = "uniform",
nsamples = 100000L,
seed = NULL,
mu = NULL
)
Arguments
x |
|
reference |
|
ideal |
|
maximise |
|
dist |
|
nsamples |
|
seed |
|
mu |
|
Details
The current implementation only supports 2 objectives.
A weight distribution (Auger et al. 2009) can be provided via the dist
argument. The ones currently supported are:
-
"uniform"
corresponds to the default hypervolume (unweighted). -
"point"
describes a goal in the objective space, where the parametermu
gives the coordinates of the goal. The resulting weight distribution is a multivariate normal distribution centred at the goal. -
"exponential"
describes an exponential distribution with rate parameter1/mu
, i.e.,\lambda = \frac{1}{\mu}
.
Value
A single numerical value.
References
Anne Auger, Johannes Bader, Dimo Brockhoff, Eckart Zitzler (2009). “Articulating User Preferences in Many-Objective Problems by Sampling the Weighted Hypervolume.” In Franz Rothlauf (ed.), Proceedings of the Genetic and Evolutionary Computation Conference, GECCO 2009, 555–562. ACM Press, New York, NY.
See Also
read_datasets()
, eafdiff()
, whv_rect()
Examples
whv_hype(matrix(2, ncol=2), reference = 4, ideal = 1, seed = 42)
whv_hype(matrix(c(3,1), ncol=2), reference = 4, ideal = 1, seed = 42)
whv_hype(matrix(2, ncol=2), reference = 4, ideal = 1, seed = 42,
dist = "exponential", mu=0.2)
whv_hype(matrix(c(3,1), ncol=2), reference = 4, ideal = 1, seed = 42,
dist = "exponential", mu=0.2)
whv_hype(matrix(2, ncol=2), reference = 4, ideal = 1, seed = 42,
dist = "point", mu=c(2.9,0.9))
whv_hype(matrix(c(3,1), ncol=2), reference = 4, ideal = 1, seed = 42,
dist = "point", mu=c(2.9,0.9))