pyhgf.updates.prediction_error.dirichlet.get_candidate#

pyhgf.updates.prediction_error.dirichlet.get_candidate(value, sensory_precision, expected_mean, expected_sigma, n_samples=20000)[source]#

Find the best cluster candidate given previous clusters and an input value.

Parameters:
Returns:

  • mean – The mean of the new candidate cluster.

  • sigma – The standard deviation of the new candidate cluster.

Return type:

tuple[float, float]