Parameter sampling class producing randomly distributed parameter samples in sparameter space \({\cal M}\).
Public Member Functions | |
Random (nparameters, seed, log_distribution) | |
constructor More... | |
function this = | init_sample (IDetailedModel dmodel) |
initializes the parameter sampling object More... | |
function size = | size () |
returns the number of parameter vectors in this sampling More... | |
Public Member Functions inherited from ParameterSampling.Interface | |
function
please_init = | init_required () |
returns a boolean indicating whether the object is fully functional, or must be initialized by a call to init_sample(). More... | |
Public Attributes | |
sample | |
matrix storing the parameter vectors in the parameter samples as row vectors. More... | |
ranges | |
cell vector with min and max values for each parameter component | |
seed | |
a random seed for initialization of the random generator (Default = random value initialized with clock) | |
nparameters = 100 | |
number of parameters in the sample More... | |
log_distribution = false | |
boolean value determining whether a logarithmic function shall be applied on the uniform distribution of the parameter samples. More... | |
Public Attributes inherited from ParameterSampling.Interface | |
sample | |
matrix storing the parameter vectors in the parameter samples as row vectors. More... | |
Static Public Attributes | |
static const | method = "twister" |
string specifying the random generator to be used More... | |
Additional Inherited Members | |
Protected Attributes inherited from ParameterSampling.Interface | |
init_done = false | |
boolean indicating whether the object has already been initialized by a call of init_sample(). More... | |
ParameterSampling.Random.Random | ( | nparameters, | |
seed, | |||
log_distribution | |||
) |
constructor
nparameters | number of parameters in the sample Default: 100 |
seed | a random seed for initialization of the random generator (Default = random value initialized with clock) |
log_distribution | boolean value determining whether a logarithmic function shall be applied on the uniform distribution of the parameter samples. Default: false |
|
virtual |
initializes the parameter sampling object
dmodel | object specifying how the high dimensional data can be computed. |
This method initializes the random number generator with the given seed.
Implements ParameterSampling.Interface.
Definition at line 115 of file Random.m.
|
virtual |
returns the number of parameter vectors in this sampling
size | sample size |
Implements ParameterSampling.Interface.
ParameterSampling.Random.log_distribution = false |
|
static |
ParameterSampling.Random.nparameters = 100 |
ParameterSampling.Random.sample |
matrix storing the parameter vectors in the parameter samples as row vectors.
Dependent
set to true. SetAccess = Private, GetAccess = Public