Beispiel #1
0
def em_ll_map(prt):
    em = HardEM(author_graph=ex_ll_graph,
                author_product_map=ex_ll_author_prod_map,
                nparts=ex_ll_nparts,
                init_partition=prt)
    return prt, em.log_likelihood()