medil.models.NeuroCausalFactorAnalysis
- class medil.models.NeuroCausalFactorAnalysis(seed: int = 0, dof: int = 0, path: str = 'trained_ncfa/', verbose: bool = False, **kwargs)[source]
Bases:
MedilCausalModel
A MeDIL causal model represented by a deep generative model.
- __init__(seed: int = 0, dof: int = 0, path: str = 'trained_ncfa/', verbose: bool = False, **kwargs)[source]
Methods
__init__
([seed, dof, path, verbose])Assign degrees of freedom (latent variables) of VAE to latent factors from causal structure learning.
fit
(dataset)log
(entry)sample
(sample_size)