inferlo.datasets.Dataset
- class inferlo.datasets.Dataset[source]
Dataset containing GM and true answers.
- Fields:
model- Graphical model.true_marginals- known true exact marginal probabilities for all variables.true_log_pf- known true exact natural logarithm of the partition function.name- name of the dataset.
- __init__(model: GenericGraphModel, true_marginals: array, true_log_pf: float, name: str) None
Methods
__init__(model, true_marginals, true_log_pf, ...)Attributes
modeltrue_marginalstrue_log_pfname