class_docstr: PyMC model-fitting backend.
class_docstr_tok: ["PyMC","model-fitting","backend","."]
code: def __init__(self):
      self.name = pm.__name__
      self.version = pm.__version__
      self.vi_approx = None
      self.fit = False
      self.model = None
      self.spec = None
      self.components = {}
  
imports: import functools
  import logging
  import traceback
  from copy import deepcopy
  from importlib.metadata import version
  import numpy
  import pymc
  import pytensor.tensor
  from pytensor.tensor.special import softmax
  from bambi.backend.links import cloglog, identity, inverse_squared, logit, probit, arctan_2
  from bambi.backend.model_components import ConstantComponent, DistributionalComponent
  from bambi.utils import get_aliased_name
label_desc: Use image node_id 1 to create a new PyMCModel object  with example: obj = PyMCModel()