pyhgf.updates.prediction_error.dirichlet.clusters_likelihood#
- pyhgf.updates.prediction_error.dirichlet.clusters_likelihood(value, expected_mean, expected_sigma)[source]#
Likelihood of a parametrized candidate under the new observation.
- Parameters:
- value
The new observation.
- expected_mean
Pre-existing clusters means.
- expected_sigma
Pre-existing clusters standard deviation.
- Returns:
- likelihood
The probability of observing the value under each cluster.
- Parameters:
value (float)
expected_mean (Array | ndarray | bool | number | bool | int | float | complex)
expected_sigma (Array | ndarray | bool | number | bool | int | float | complex)
- Return type:
Array | ndarray | bool | number | bool | int | float | complex