| | |
- structure_learning.approximators.approximator.Approximator(abc.ABC)
-
- DiBS
class DiBS(structure_learning.approximators.approximator.Approximator) |
| |
DiBS(data: Union[structure_learning.data.data.Data, pandas.core.frame.DataFrame], n_particles: int = 100, steps: int = 1000, non_linear=False, joint=True, interv_mask=None, seed=None)
Wrapper class for DiBS (https://arxiv.org/abs/2105.11839). |
| |
- Method resolution order:
- DiBS
- structure_learning.approximators.approximator.Approximator
- abc.ABC
- builtins.object
Methods defined here:
- __init__(self, data: Union[structure_learning.data.data.Data, pandas.core.frame.DataFrame], n_particles: int = 100, steps: int = 1000, non_linear=False, joint=True, interv_mask=None, seed=None)
- Initialize self. See help(type(self)) for accurate signature.
- config(self)
- run(self)
Data and other attributes defined here:
- __abstractmethods__ = frozenset()
Methods inherited from structure_learning.approximators.approximator.Approximator:
- save(self, filename: str, compression='gzip')
- Saves the Graph object to a file.
Parameters:
filename (str): Path to the output file.
Class methods inherited from structure_learning.approximators.approximator.Approximator:
- load(filename: str, compression='gzip')
- Loads a Graph object from a file.
Parameters:
filename (str): Path to the input file.
Returns:
Graph: Loaded Graph object.
Data descriptors inherited from structure_learning.approximators.approximator.Approximator:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
| |