physbo.blm.lik.gauss module
- class physbo.blm.lik.gauss.gauss(linear, cov)[ソース]
ベースクラス:
object
Gaussian
- linear
- cov
covariance
- Type:
blm.lik.cov
- stats
- get_basis(X)[ソース]
calculates value of basis function at input
- パラメータ:
X (numpy.ndarray) -- input
参考
blm.basis.fourier.get_basis
- get_cov(N, params=None)[ソース]
Returns covariance matrix
- パラメータ:
N (int) -- dimension
params (float) -- half of log of variance (default: self.cov.params)
- 戻り値:
NxN covariance matrix
- 戻り値の型:
numpy.ndarray
- get_mean(X, Psi=None, params=None, bias=None)[ソース]
calculates mean value
- パラメータ:
X (numpy.ndarray) -- raw input
Psi (numpy.ndarray) -- value of feature maps
params (numpy.ndarray) -- weight
bias (float) -- bias
参考
blm.basis.fourier.get_mean
- get_prec(N, params=None)[ソース]
Returns precision matrix
- パラメータ:
N (int) -- dimension
params (float) -- half of log of variance (default: self.cov.params)
- 戻り値:
NxN precision matrix
- 戻り値の型:
numpy.ndarray