public class GaussianSampler extends ScalarProposer
Dictionary
.Constructor and Description |
---|
GaussianSampler() |
Modifier and Type | Method and Description |
---|---|
DictionaryProvider |
getDictionary()
The dictionary that parameterizes the Gaussian-distribution that is sampled from.
|
double |
getFactorStandardDeviation()
Multiples the standard deviation of the distribution found in
keyStandardDeviation . |
String |
getKeyMean()
The name of the key in the dictionary with the mean of the distribution.
|
String |
getKeyStandardDeviation()
The name of the key in the dictionary with the standard-deviation.
|
double |
propose(RandomNumberGenerator randomNumberGenerator,
Optional<Resolution> resolution) |
void |
setDictionary(DictionaryProvider dictionary)
The dictionary that parameterizes the Gaussian-distribution that is sampled from.
|
void |
setFactorStandardDeviation(double factorStandardDeviation)
Multiples the standard deviation of the distribution found in
keyStandardDeviation . |
void |
setKeyMean(String keyMean)
The name of the key in the dictionary with the mean of the distribution.
|
void |
setKeyStandardDeviation(String keyStandardDeviation)
The name of the key in the dictionary with the standard-deviation.
|
initializeRecursive, onInitialization, onInitialization
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public double propose(RandomNumberGenerator randomNumberGenerator, Optional<Resolution> resolution) throws OperationFailedException
propose
in class ScalarProposer
OperationFailedException
public DictionaryProvider getDictionary()
public void setDictionary(DictionaryProvider dictionary)
public String getKeyMean()
public void setKeyMean(String keyMean)
public String getKeyStandardDeviation()
Ultimately the standard-deviation of the distribution is formed by from(keyStandardDeviation) * factorStandardDeviation
.
public void setKeyStandardDeviation(String keyStandardDeviation)
Ultimately the standard-deviation of the distribution is formed by from(keyStandardDeviation) * factorStandardDeviation
.
public double getFactorStandardDeviation()
keyStandardDeviation
.
Ultimately the standard-deviation of the distribution is formed by from(keyStandardDeviation) * factorStandardDeviation
.
public void setFactorStandardDeviation(double factorStandardDeviation)
keyStandardDeviation
.
Ultimately the standard-deviation of the distribution is formed by from(keyStandardDeviation) * factorStandardDeviation
.
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.