skfolio.utils.stats.rand_weights_dirichlet# skfolio.utils.stats.rand_weights_dirichlet(n)[source]# Produces n random weights that sum to one from a dirichlet distribution (uniform distribution over a simplex) Parameters: nintNumber of weights. Returns: weightsndarray of shape (n, )The vector of weights.