spn.algorithms.MPE.mpe

mpe(node, input_data, node_top_down_mpe={<class 'spn.structure.Base.Product'>: <function mpe_prod>, <class 'spn.structure.Base.Sum'>: <function mpe_sum>, <class 'spn.structure.leaves.parametric.Parametric.Gaussian'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.Gamma'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.LogNormal'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.Poisson'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.Bernoulli'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.Categorical'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.Geometric'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.NegativeBinomial'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.Exponential'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.Hypergeometric'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.parametric.Parametric.CategoricalDictionary'>: <function get_parametric_top_down_ll.<locals>.param_td_fn>, <class 'spn.structure.leaves.piecewise.PiecewiseLinear.PiecewiseLinear'>: <function piecewise_top_down>, <class 'spn.structure.leaves.histogram.Histograms.Histogram'>: <function histogram_top_down>, <class 'spn.structure.leaves.cltree.CLTree.CLTree'>: <function cltree_top_down>}, node_bottom_up_mpe_log={<class 'spn.structure.Base.Sum'>: <function sum_log_likelihood>, <class 'spn.structure.Base.Product'>: <function prod_log_likelihood>, <class 'spn.structure.leaves.parametric.Parametric.Gaussian'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.Gamma'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.LogNormal'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.Poisson'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.Bernoulli'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.Categorical'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.Geometric'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.NegativeBinomial'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.Exponential'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.Hypergeometric'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.parametric.Parametric.CategoricalDictionary'>: <function get_parametric_bottom_up_log_ll.<locals>.param_bu_fn>, <class 'spn.structure.leaves.piecewise.PiecewiseLinear.PiecewiseLinear'>: <function piecewise_bottom_up_log_ll>, <class 'spn.structure.leaves.histogram.Histograms.Histogram'>: <function histogram_bottom_up_log_ll>, <class 'spn.structure.leaves.cltree.CLTree.CLTree'>: <function cltree_bottom_up_log_ll>}, in_place=False)[source]