7.4.3. mclearn.performance.convolve_betas

mclearn.performance.convolve_betas(parameters, res=0.001)[source]

Convolves k Beta distributions.

Parameters:
  • parameters (array of tuples) – Each tuple (alpha_i, beta_i) is the parameters of a Beta distribution.
  • res (float, optional (default=0.001)) – The precision of the resulting convolution, measured as step size in the support.
Returns:

convolution – The resulting convultion of the k Beta distributions, given the specified presicion res.

Return type:

array, shape = [k / res]