Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/s/t/StochasticBlockmodel-HEAD/test_beta.py   StochasticBlockmodel(Download)
P_alpha, P_beta = params['P_beta_params']
P = np.random.beta(P_alpha, P_beta, (params['N'],params['N']))
net.initialize_offset()[:,:] = logit(P)
 
# Generate covariates and associated coefficients