physbo.gp.mean.const module

class physbo.gp.mean.const.const(params=None, max_params=1000000000000.0, min_params=-1000000000000.0)[ソース]

ベースクラス: object

constant

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

set_params(params)[ソース]

Setting parameters defined in const class.

パラメータ:

params (numpy.ndarray) -- parameters

戻り値の型:

numpy.ndarray

supp_params(params)[ソース]

Setting maximum and minimum value of parameters.

パラメータ:

params (numpy.ndarray) -- parameters

戻り値の型:

numpy.ndarray