def __init__(self, score='obs', verbose=False):
        """Init the model and its available arguments."""
        if not RPackages.pcalg:
            raise ImportError("R Package pcalg is not available.")

        super(GIES, self).__init__()
        self.scores = {'int': 'GaussL0penIntScore',
                       'obs': 'GaussL0penObsScore'}
        self.arguments = {'{FOLDER}': '/tmp/cdt_gies/',
                          '{FILE}': 'data.csv',
                          '{SKELETON}': 'FALSE',
                          '{GAPS}': 'fixedgaps.csv',
                          '{SCORE}': 'GaussL0penObsScore',
                          '{VERBOSE}': 'FALSE',
                          '{OUTPUT}': 'result.csv'}
        self.verbose = SETTINGS.get_default(verbose=verbose)
        self.score = score
def __init__ ( self , score = 'obs' , verbose = False ) : if not RPackages . pcalg : raise ImportError ( "R Package pcalg is not available." ) super ( GIES , self ) . __init__ ( ) self . scores = { 'int' : 'GaussL0penIntScore' , 'obs' : 'GaussL0penObsScore' } self . arguments = { '{FOLDER}' : '/tmp/cdt_gies/' , '{FILE}' : 'data.csv' , '{SKELETON}' : 'FALSE' , '{GAPS}' : 'fixedgaps.csv' , '{SCORE}' : 'GaussL0penObsScore' , '{VERBOSE}' : 'FALSE' , '{OUTPUT}' : 'result.csv' } self . verbose = SETTINGS . get_default ( verbose = verbose ) self . score = score
Init the model and its available arguments.