Module Index : Topics : Keywords
 
 
structure_learning.approximators.pc
index
/Users/165421/Documents/code/structure_learning/src/structure_learning/approximators/pc.py

 
Modules
       
networkx
pandas
pgmpy

 
Classes
       
structure_learning.approximators.approximator.Approximator(abc.ABC)
PC

 
class PC(structure_learning.approximators.approximator.Approximator)
    PC(data: Union[structure_learning.data.data.Data, pandas.core.frame.DataFrame], significance_level=0.01, ci_test='pearsonr')
 

 
 
Method resolution order:
PC
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], significance_level=0.01, ci_test='pearsonr')
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

 
Data
        Union = typing.Union