7.4.6. mclearn.performance.beta_avg_pdf¶
-
mclearn.performance.
beta_avg_pdf
(x, parameters, res=0.001)[source]¶ Compute the pdf of the average of the k beta distributions.
Parameters: - x (array) – A subset of the domain where we want evaluate the pdf.
- 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 convolution, measured as step size in the support.
Returns: y – The pdf evaulated at x.
Return type: array