code: def test_fit(self):
      estimator = IVEstimator(self.model)
      param, summary = estimator.fit(
          X="X", Y="Y", data=self.generated_data
      )
      self.assertTrue((param - 1) < 0.027)
  
file_path: pgmpy/pgmpy/tests/test_estimators/test_SEMEstimator.py
imports: import unittest
  import numpy
  import pandas
  import torch
  from pgmpy import config
  from pgmpy.estimators import IVEstimator, SEMEstimator
  from pgmpy.models import SEM, SEMGraph
label_desc: Use image node_id 2 for calling the TestIVEstimator obj's underlying member method code with example usage: obj.test_fit() without return types