class_docstr: Implements a data generating process that returns data having linear relationship between the treatment, outcome and confounders
class_docstr_tok: ["Implements","a","data","generating","process","that","returns","data","having","linear","relationship","between","the","treatment",",","outcome","and","confounders"]
code: def __init__(self, **kwargs):
      super().__init__(**kwargs)
      self.auto_gen = False
  
      if self.weights == {} and self.bias == {}:
          self.auto_gen = True
  
file_path: dowhy/dowhy/utils/dgps/linear_dgp.py
imports: import numpy
  import pandas
  from dowhy.utils.dgp import DataGeneratingProcess
label_desc: Use image node_id 1 to create a new LinearDataGeneratingProcess object from inherited base classes: DataGeneratingProcess with example: obj = LinearDataGeneratingProcess()