code: def test_discrete_network(self):
      for test in {
          "chi_square",
          "g_sq",
          "log_likelihood",
          "freeman_tuckey",
          "modified_log_likelihood",
          "neyman",
          "cressie_read",
      }:
          for score in {f1_score, accuracy_score}:
              metric = correlation_score(
                  self.alarm, self.data, test=test, score=score
              )
              self.assertTrue(isinstance(metric, float))
  
              metric_summary = correlation_score(
                  self.alarm,
                  self.data,
                  test=test,
                  score=score,
                  return_summary=True,
              )
              self.assertTrue(isinstance(metric_summary, pd.DataFrame))
  
file_path: pgmpy/pgmpy/tests/test_metrics/test_metrics.py
imports: import unittest
  import pandas
  from sklearn.metrics import accuracy_score, f1_score
  from pgmpy.metrics import correlation_score, log_likelihood_score, structure_score
  from pgmpy.utils import get_example_model
label_desc: Use image node_id 2 for calling the TestCorrelationScore obj's underlying member method code with example usage: obj.test_discrete_network() without return types