physbo.gp.mean package
Module contents
- class physbo.gp.mean.Const(params=None, max_params=1000000000000.0, min_params=-1000000000000.0)[ソース]
ベースクラス:
object
constant
- パラメータ:
params (numpy.ndarray) -- Parameters
max_params (float) -- Threshold value for specifying the maximum value of the parameter
min_params (float) -- Threshold value for specifying the minimum value of the parameter
- get_cand_params(t)[ソース]
Getting the median array of candidates.
- パラメータ:
t (array_like) -- Input array or object that can be converted to an array
- 戻り値:
median -- A new array holding the result.
- 戻り値の型:
numpy.ndarray
- get_grad(num_data, params=None)[ソース]
Returning a new array of (num_data), filled with ones.
- パラメータ:
num_data (int) -- total number of data
params (object) -- not used
- 戻り値の型:
numpy.ndarray
- get_mean(num_data, params=None)[ソース]
- パラメータ:
num_data (int) -- total number of data
params (numpy.ndarray) -- parameters
- 戻り値の型:
numpy.ndarray
- get_params_bound()[ソース]
Getting the boundary list for parameters
- 戻り値:
bound -- num_params array with the tupple (min_param, max_params)
- 戻り値の型:
list
- init_params(params)[ソース]
Initializing parameters
- パラメータ:
params (numpy.ndarray) -- parameters
- 戻り値:
params -- initialized parameters
- 戻り値の型:
numpy.ndarray
- class physbo.gp.mean.Zero[ソース]
ベースクラス:
object
zero
- get_grad(num_data, params=None)[ソース]
Returning empty numpy.ndarray
- パラメータ:
num_data (int) -- not used
params (object) -- not used
- 戻り値の型:
numpy.ndarray