7.4.5. mclearn.performance.beta_sum_pdf¶
-
mclearn.performance.
beta_sum_pdf
(x, parameters, res=0.001)[source]¶ Compute the pdf of the sum of 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