Sampler for a single ParamUty
that samples weight-matrices
as used by ScalorFixedProjection
.
paradox::Sampler
-> SamplerRandomWeights
nobjectives
(numeric(1)
)
Number of objectives for which weights are generated.
nweights
(numeric(1)
)
Number of weight vectors generated for each configuration.
weights_component_id
(numeric(1)
)
search space component identifying the weights by which to scalarize.
Inherited methods
new()
Initialize the SamplerRandomWeights
object.
SamplerRandomWeights$new(
nobjectives = 2,
nweights = 1,
weights_component_id = "scalarization_weights"
)
nobjectives
(numeric(1)
)
Number of objectives for which weights are generated.
nweights
(numeric(1)
)
Number of weight vectors generated for each configuration.
weights_component_id
(character(1)
)
Id of the ParamUty
. Default is "scalarization_weights"
.
Can be changed arbitrarily but should match the ScalorFixedProjection
's weights_component_id
.
set.seed(1)