d27a4318c49d138343f077fe8257c6f376dfd57e,tests/test_subsample.py,,test_subsample,#,31

Before Change


def test_subsample():
    with bayeslite.bayesdb_open(builtin_metamodels=False) as bdb:
        cc = crosscat.LocalEngine.LocalEngine(seed=0)
        metamodel = CrosscatMetamodel(cc)
        bayeslite.bayesdb_register_metamodel(bdb, metamodel)
        with open(dha_csv, "rU") as f:
            read_csv.bayesdb_read_csv(bdb, "dha", f, header=True, create=True)
        bayesdb_guess_population(bdb, "hospitals_full", "dha",

After Change



def test_subsample():
    with bayeslite.bayesdb_open(builtin_metamodels=False) as bdb:
        metamodel = CGPM_Metamodel(cgpm_registry={}, multiprocess=False)
        bayeslite.bayesdb_register_metamodel(bdb, metamodel)
        with open(dha_csv, "rU") as f:
            read_csv.bayesdb_read_csv(bdb, "dha", f, header=True, create=True)
        bayesdb_guess_population(bdb, "hospitals_full", "dha",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: probcomp/bayeslite
Commit Name: d27a4318c49d138343f077fe8257c6f376dfd57e
Time: 2017-11-21
Author: fsaad@mit.edu
File Name: tests/test_subsample.py
Class Name:
Method Name: test_subsample


Project Name: probcomp/bayeslite
Commit Name: 5a52826921f3c47dcfa7bbc8349f6217aa71775d
Time: 2017-11-21
Author: fsaad@mit.edu
File Name: tests/test_codebook.py
Class Name:
Method Name: test_codebook_value_map


Project Name: probcomp/bayeslite
Commit Name: 0e531e689405065b81291f20459eeb946b021919
Time: 2017-11-21
Author: fsaad@mit.edu
File Name: tests/test_core.py
Class Name:
Method Name: t1_mp


Project Name: probcomp/bayeslite
Commit Name: 0e531e689405065b81291f20459eeb946b021919
Time: 2017-11-21
Author: fsaad@mit.edu
File Name: tests/test_core.py
Class Name:
Method Name: bayesdb