LICENSE
README.md
pyproject.toml
docs/source/conf.py
scripts/benchmark_linsum_simple.py
scripts/benchmark_sumlayer_simple.py
scripts/coverage_inspect.py
scripts/generate_visualizations.py
spflow/__init__.py
spflow/dsl.py
spflow/exceptions.py
spflow.egg-info/PKG-INFO
spflow.egg-info/SOURCES.txt
spflow.egg-info/dependency_links.txt
spflow.egg-info/requires.txt
spflow.egg-info/top_level.txt
spflow/devtools/__init__.py
spflow/devtools/coverage_inspect.py
spflow/interfaces/__init__.py
spflow/interfaces/classifier.py
spflow/interfaces/sklearn.py
spflow/learn/__init__.py
spflow/learn/build_socs.py
spflow/learn/cnet.py
spflow/learn/expectation_maximization.py
spflow/learn/gradient_descent.py
spflow/learn/learn_spn.py
spflow/learn/prometheus.py
spflow/measures/__init__.py
spflow/measures/_utils.py
spflow/measures/information_theory.py
spflow/measures/weight_of_evidence.py
spflow/meta/__init__.py
spflow/meta/region_graph.py
spflow/meta/data/__init__.py
spflow/meta/data/interval_evidence.py
spflow/meta/data/scope.py
spflow/modules/__init__.py
spflow/modules/module.py
spflow/modules/module_shape.py
spflow/modules/conv/__init__.py
spflow/modules/conv/prod_conv.py
spflow/modules/conv/sum_conv.py
spflow/modules/conv/utils.py
spflow/modules/einsum/__init__.py
spflow/modules/einsum/einsum_layer.py
spflow/modules/einsum/linsum_layer.py
spflow/modules/leaves/__init__.py
spflow/modules/leaves/bernoulli.py
spflow/modules/leaves/binomial.py
spflow/modules/leaves/categorical.py
spflow/modules/leaves/cltree.py
spflow/modules/leaves/exponential.py
spflow/modules/leaves/gamma.py
spflow/modules/leaves/geometric.py
spflow/modules/leaves/histogram.py
spflow/modules/leaves/hypergeometric.py
spflow/modules/leaves/laplace.py
spflow/modules/leaves/leaf.py
spflow/modules/leaves/log_normal.py
spflow/modules/leaves/negative_binomial.py
spflow/modules/leaves/normal.py
spflow/modules/leaves/piecewise_linear.py
spflow/modules/leaves/poisson.py
spflow/modules/leaves/uniform.py
spflow/modules/ops/__init__.py
spflow/modules/ops/cat.py
spflow/modules/ops/split.py
spflow/modules/ops/split_by_index.py
spflow/modules/ops/split_consecutive.py
spflow/modules/ops/split_interleaved.py
spflow/modules/products/__init__.py
spflow/modules/products/base_product.py
spflow/modules/products/elementwise_product.py
spflow/modules/products/outer_product.py
spflow/modules/products/product.py
spflow/modules/rat/__init__.py
spflow/modules/rat/factorize.py
spflow/modules/sos/__init__.py
spflow/modules/sos/socs.py
spflow/modules/sums/__init__.py
spflow/modules/sums/elementwise_sum.py
spflow/modules/sums/repetition_mixing_layer.py
spflow/modules/sums/signed_sum.py
spflow/modules/sums/sum.py
spflow/modules/wrapper/__init__.py
spflow/modules/wrapper/base.py
spflow/modules/wrapper/image_wrapper.py
spflow/utils/__init__.py
spflow/utils/cache.py
spflow/utils/compatibility.py
spflow/utils/debug.py
spflow/utils/domain.py
spflow/utils/histogram.py
spflow/utils/inference.py
spflow/utils/inner_product.py
spflow/utils/inner_product_core.py
spflow/utils/leaves.py
spflow/utils/model_manager.py
spflow/utils/module_display.py
spflow/utils/projections.py
spflow/utils/range_inference.py
spflow/utils/rdc.py
spflow/utils/replace.py
spflow/utils/sampling_context.py
spflow/utils/signed_semiring.py
spflow/utils/structure_stats.py
spflow/utils/visualization.py
spflow/zoo/__init__.py
spflow/zoo/apc/__init__.py
spflow/zoo/apc/config.py
spflow/zoo/apc/debug_trace.py
spflow/zoo/apc/decoders.py
spflow/zoo/apc/model.py
spflow/zoo/apc/train.py
spflow/zoo/apc/encoders/__init__.py
spflow/zoo/apc/encoders/base.py
spflow/zoo/apc/encoders/convpc_joint_encoder.py
spflow/zoo/apc/encoders/einet_joint_encoder.py
spflow/zoo/apc/encoders/joint_pc_base.py
spflow/zoo/apc/encoders/latent_stats.py
spflow/zoo/cms/__init__.py
spflow/zoo/cms/continuous_mixtures.py
spflow/zoo/cms/joint.py
spflow/zoo/cms/rqmc.py
spflow/zoo/conv/__init__.py
spflow/zoo/conv/conv_pc.py
spflow/zoo/einet/__init__.py
spflow/zoo/einet/einet.py
spflow/zoo/hclt/__init__.py
spflow/zoo/hclt/chow_liu.py
spflow/zoo/hclt/learn.py
spflow/zoo/hclt/mi.py
spflow/zoo/hclt/topk_mst.py
spflow/zoo/pic/__init__.py
spflow/zoo/pic/functional_sharing.py
spflow/zoo/pic/integral.py
spflow/zoo/pic/pipeline.py
spflow/zoo/pic/weighted_sum.py
spflow/zoo/pic/tensorized/__init__.py
spflow/zoo/pic/tensorized/base.py
spflow/zoo/pic/tensorized/cp.py
spflow/zoo/pic/tensorized/mixing.py
spflow/zoo/pic/tensorized/qpc.py
spflow/zoo/pic/tensorized/tucker.py
spflow/zoo/pic/tensorized/utils.py
spflow/zoo/rat/__init__.py
spflow/zoo/rat/rat_spn.py
spflow/zoo/sos/__init__.py
spflow/zoo/sos/exp_socs.py
spflow/zoo/sos/models.py
spflow/zoo/sos/signed_categorical.py
tests/__init__.py
tests/contract_data.py
tests/test_scope.py
tests/devtools/test_coverage_inspect.py
tests/interfaces/test_sklearn_classifier.py
tests/interfaces/test_sklearn_density_estimator.py
tests/learn/__init__.py
tests/learn/test_build_socs.py
tests/learn/test_cnet.py
tests/learn/test_expectation_maximization.py
tests/learn/test_expectation_maximization_contract.py
tests/learn/test_gradient_descent.py
tests/learn/test_learn_spn.py
tests/learn/test_prometheus.py
tests/learn/test_prometheus_contract.py
tests/measures/test_information_theory.py
tests/measures/test_utils.py
tests/measures/test_weight_of_evidence.py
tests/meta/test_region_graph.py
tests/meta/data/__init__.py
tests/modules/__init__.py
tests/modules/conftest.py
tests/modules/module_contract_data.py
tests/modules/test_base_products.py
tests/modules/test_classifier.py
tests/modules/test_elementwise_product.py
tests/modules/test_elementwise_sum.py
tests/modules/test_factorize.py
tests/modules/test_mixing_layer.py
tests/modules/test_module.py
tests/modules/test_outer_product.py
tests/modules/test_product.py
tests/modules/test_product_contract_loglikelihood.py
tests/modules/test_product_contract_sampling.py
tests/modules/test_product_contract_training_marginalization.py
tests/modules/test_sampling_leaf_params.py
tests/modules/test_signed_sum.py
tests/modules/test_socs.py
tests/modules/test_sum.py
tests/modules/test_sum_contract_loglikelihood.py
tests/modules/test_sum_contract_marginalization.py
tests/modules/test_sum_contract_sampling.py
tests/modules/test_sum_contract_training.py
tests/modules/test_sum_contract_weights_and_constructor.py
tests/modules/test_sum_sampling_shape_trace.py
tests/modules/conv/test_prod_conv.py
tests/modules/conv/test_sampling_context_utils.py
tests/modules/conv/test_sum_conv.py
tests/modules/einsum/__init__.py
tests/modules/einsum/contracts.py
tests/modules/einsum/layer_test_utils.py
tests/modules/einsum/test_einsum_contract.py
tests/modules/einsum/test_einsum_equivalence.py
tests/modules/einsum/test_einsum_layer_sampling_split.py
tests/modules/einsum/test_einsum_layer_training_branches.py
tests/modules/einsum/test_einsum_layer_weights_marginalization.py
tests/modules/einsum/test_einsum_specific.py
tests/modules/einsum/test_linsum_contract.py
tests/modules/einsum/test_linsum_equivalence.py
tests/modules/einsum/test_linsum_layer_sampling_split.py
tests/modules/einsum/test_linsum_layer_training_branches.py
tests/modules/einsum/test_linsum_layer_weights_marginalization.py
tests/modules/einsum/test_linsum_specific.py
tests/modules/leaves/__init__.py
tests/modules/leaves/conftest.py
tests/modules/leaves/leaf_contract_data.py
tests/modules/leaves/test_bernoulli.py
tests/modules/leaves/test_cltree.py
tests/modules/leaves/test_differentiable_distribution_implementations.py
tests/modules/leaves/test_histogram.py
tests/modules/leaves/test_hypergeometric.py
tests/modules/leaves/test_leaf_base.py
tests/modules/leaves/test_leaf_conditional_mpe.py
tests/modules/leaves/test_leaf_contract_conditional.py
tests/modules/leaves/test_leaf_contract_constructor_domains.py
tests/modules/leaves/test_leaf_contract_constructor_sanity.py
tests/modules/leaves/test_leaf_contract_loglikelihood.py
tests/modules/leaves/test_leaf_contract_marginalization.py
tests/modules/leaves/test_leaf_contract_sampling.py
tests/modules/leaves/test_leaf_contract_training.py
tests/modules/leaves/test_piecewise_linear.py
tests/modules/leaves/test_scope_flexibility.py
tests/modules/leaves/test_scope_order_invariance.py
tests/modules/leaves/test_uniform.py
tests/modules/ops/__init__.py
tests/modules/ops/test_alt_split.py
tests/modules/ops/test_cat.py
tests/modules/ops/test_cat_permuted_scope.py
tests/modules/ops/test_half_split.py
tests/modules/ops/test_ops_cat_contract.py
tests/modules/ops/test_ops_split_contract.py
tests/modules/ops/test_split.py
tests/modules/ops/test_split_by_index.py
tests/modules/ops/test_split_integration.py
tests/modules/rat/test_rat_mixing_layer.py
tests/modules/rat/test_repetition_mixing_layer_em.py
tests/modules/sums/test_repetition_mixing_layer_process_weights.py
tests/modules/test_helpers/__init__.py
tests/modules/test_helpers/builders.py
tests/modules/test_helpers/sampling.py
tests/modules/wrapper/test_base_wrapper.py
tests/modules/wrapper/test_image.py
tests/test_helpers/__init__.py
tests/test_helpers/assertions.py
tests/test_helpers/builders.py
tests/test_helpers/sampling.py
tests/utils/__init__.py
tests/utils/leaves.py
tests/utils/sampling_context_helpers.py
tests/utils/test_cache.py
tests/utils/test_compatibility.py
tests/utils/test_debug.py
tests/utils/test_dsl_construction.py
tests/utils/test_inference.py
tests/utils/test_inner_product_contract.py
tests/utils/test_inner_product_core.py
tests/utils/test_inner_product_math.py
tests/utils/test_leaves.py
tests/utils/test_model_manager_minimal.py
tests/utils/test_module_display.py
tests/utils/test_projections.py
tests/utils/test_range_inference.py
tests/utils/test_rdc.py
tests/utils/test_replace.py
tests/utils/test_sampling_context.py
tests/utils/test_signed_semiring_utils.py
tests/utils/test_structure_stats.py
tests/utils/test_visualization.py
tests/zoo/__init__.py
tests/zoo/apc/test_apc_convpc.py
tests/zoo/apc/test_apc_convpc_reference_architecture.py
tests/zoo/apc/test_apc_einet.py
tests/zoo/apc/test_apc_latent_stats_reference_parity.py
tests/zoo/apc/test_apc_losses.py
tests/zoo/apc/test_apc_train.py
tests/zoo/cms/__init__.py
tests/zoo/cms/test_continuous_mixtures.py
tests/zoo/conv/test_conv_pc.py
tests/zoo/einet/test_einet_contract_construction.py
tests/zoo/einet/test_einet_contract_loglikelihood.py
tests/zoo/einet/test_einet_contract_sampling.py
tests/zoo/einet/test_einet_module_specific.py
tests/zoo/hclt/test_chow_liu_binary.py
tests/zoo/hclt/test_hclt.py
tests/zoo/hclt/test_hclt_categorical.py
tests/zoo/hclt/test_mi.py
tests/zoo/hclt/test_topk_mst.py
tests/zoo/pic/__init__.py
tests/zoo/pic/test_functional_sharing.py
tests/zoo/pic/test_integral_module.py
tests/zoo/pic/test_pipeline.py
tests/zoo/pic/test_weighted_sum.py
tests/zoo/pic/tensorized/__init__.py
tests/zoo/pic/tensorized/test_base_layer.py
tests/zoo/pic/tensorized/test_cp_layer.py
tests/zoo/pic/tensorized/test_mixing_layer.py
tests/zoo/pic/tensorized/test_tensorized_qpc.py
tests/zoo/pic/tensorized/test_tensorized_qpc_branches.py
tests/zoo/pic/tensorized/test_tensorized_qpc_equivalence.py
tests/zoo/pic/tensorized/test_tucker_layer.py
tests/zoo/pic/tensorized/test_utils.py
tests/zoo/rat/rat_test_utils.py
tests/zoo/rat/test_rat_contract_construction.py
tests/zoo/rat/test_rat_contract_loglikelihood.py
tests/zoo/rat/test_rat_contract_sampling.py
tests/zoo/rat/test_rat_module_specific.py
tests/zoo/sos/__init__.py
tests/zoo/sos/test_exp_socs.py
tests/zoo/sos/test_inner_product_caching.py
tests/zoo/sos/test_leaf.py
tests/zoo/sos/test_models.py
tests/zoo/sos/test_signed_categorical.py
tests/zoo/sos/test_signed_semiring.py