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

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

src/s/t/StochasticBlockmodel-HEAD/test_sparse.py   StochasticBlockmodel(Download)
 
from Network import Network
from Models import Stationary, StationaryLogistic, NonstationaryLogistic
 
# Parameters
 
# Fit model
for name, model, use_covs in [('Stationary', Stationary(), False),
                              ('Stationary', StationaryLogistic(), True),
                              ('Nonstationary', NonstationaryLogistic(), False),