pasteur.marginal.numpy.calc_marginal#

pasteur.marginal.numpy.calc_marginal(cols, cols_noncommon, domains, x, p, partial=False, out=None)[source]#

Calculates the 1 way and 2 way marginals between the subsection of the hierarchical attribute x and the attributes p(arents).