Random seed in blockmodeling

Hi all,

Is it possible to use a random seed when calling minimize_blockmodel_dl() or minimize_nested_blockmodel_dl() such that the inferred state is always the same?

Thx

Haiko

attachment.html (2.21 KB)

Is it possible to use a random seed when calling minimize_blockmodel_dl() or
minimize_nested_blockmodel_dl() such that the inferred state is always the same?

This is the answer:

np.random.seed(42)
gt.seed_rng(42)

Glad talking to myself :wink:

H

attachment.html (3.23 KB)