class_docstr: Base class for Factors. Any Factor implementation should inherit this class.
class_docstr_tok: ["Base","class","for","Factors",".","Any","Factor","implementation","should","inherit","this","class","."]
code: def __init__(self, *args, **kwargs):
      pass
  
file_path: pgmpy/pgmpy/factors/base.py
imports: from abc import abstractmethod
  from functools import reduce
  from itertools import chain
  from opt_einsum import contract
label_desc: Use image node_id 1 to create a new BaseFactor object from inherited base classes: object with example: obj = BaseFactor()