RandomDatasetGenerator
            RandomDatasetGenerator
    A class for creating a random dataset based on an input causal DAG.
Source code in src/generators/random_dataset_generator.py
                
            generate(dag_name, edge_matrix, noise_matrix, num_points=DEFAULT_NUM_POINTS, min_source_val=DEFAULT_MIN_SOURCE_VAL, max_source_val=DEFUALT_MAX_SOURCE_VAL, out_path=None)
  
      staticmethod
  
    Generates a random dataset of num_points data points based on the given matrices about the causal DAG.
We assume that the nodes in the DAG are in topological order.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
dag_name | 
            
                  str
             | 
            
               The name of the DAG.  | 
            required | 
edge_matrix | 
            
                  ndarray
             | 
            
               The edge weight matrix of the causal DAG.  | 
            required | 
noise_matrix | 
            
                  ndarray
             | 
            
               The noise standard deviation matrix of the causal DAG.  | 
            required | 
num_points | 
            
                  int
             | 
            
               The number of data points.  | 
            
                  DEFAULT_NUM_POINTS
             | 
          
min_source_val | 
            
                  float
             | 
            
               The minimum value for source variables.  | 
            
                  DEFAULT_MIN_SOURCE_VAL
             | 
          
max_source_val | 
            
                  float
             | 
            
               The maximum value for source variables.  | 
            
                  DEFUALT_MAX_SOURCE_VAL
             | 
          
out_path | 
            
                  str
             | 
            
               The path to write the dataset to. If None, the dataset is not written out.  | 
            
                  None
             | 
          
Returns:
| Type | Description | 
|---|---|
                  dict[str, object]
             | 
            
               A dictionary with the following elements:  | 
          
                  dict[str, object]
             | 
            
              
  | 
          
                  dict[str, object]
             | 
            
              
  |