@@ -562,7 +562,7 @@ def optimize(
562562
563563 :param seed: The seed for random number generator. Must be an integer
564564 between 0 and 2^32 - 1. If unspecified,
565- :class :`numpy.random.RandomState ` is used to generate a seed.
565+ :func :`numpy.random.default_rng ` is used to generate a seed.
566566
567567 :param inits: Specifies how the sampler initializes parameter values.
568568 Initialization is either uniform random on a range centered on 0,
@@ -789,7 +789,7 @@ def sample(
789789
790790 :param seed: The seed for random number generator. Must be an integer
791791 between 0 and 2^32 - 1. If unspecified,
792- :class :`numpy.random.RandomState `
792+ :func :`numpy.random.default_rng `
793793 is used to generate a seed which will be used for all chains.
794794 When the same seed is used across all chains,
795795 the chain-id is used to advance the RNG to avoid dependent samples.
@@ -1231,7 +1231,7 @@ def generate_quantities(
12311231
12321232 :param seed: The seed for random number generator. Must be an integer
12331233 between 0 and 2^32 - 1. If unspecified,
1234- :class :`numpy.random.RandomState `
1234+ :func :`numpy.random.default_rng `
12351235 is used to generate a seed which will be used for all chains.
12361236 *NOTE: Specifying the seed will guarantee the same result for
12371237 multiple invocations of this method with the same inputs. However
@@ -1432,7 +1432,7 @@ def variational(
14321432
14331433 :param seed: The seed for random number generator. Must be an integer
14341434 between 0 and 2^32 - 1. If unspecified,
1435- :class :`numpy.random.RandomState `
1435+ :func :`numpy.random.default_rng `
14361436 is used to generate a seed which will be used for all chains.
14371437
14381438 :param inits: Specifies how the sampler initializes parameter values.
@@ -1647,7 +1647,7 @@ def pathfinder(
16471647
16481648 :param seed: The seed for random number generator. Must be an integer
16491649 between 0 and 2^32 - 1. If unspecified,
1650- :class :`numpy.random.RandomState ` is used to generate a seed.
1650+ :func :`numpy.random.default_rng ` is used to generate a seed.
16511651
16521652 :param inits: Specifies how the algorithm initializes parameter values.
16531653 Initialization is either uniform random on a range centered on 0,
0 commit comments