code: def test_similarity_graph(self):
      model = self.model
      preds = model.similarity_graph()
      self.assertEqual(len(preds.edges), len(data) * 5)
  
      preds = model.similarity_graph(output_type="SFrame")
      self.assertEqual(len(preds), len(data) * 5)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import pytest
  import turicreate
  from turicreate.toolkits._internal_utils import _mac_ver
  import tempfile
  from .None import util
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits.image_analysis.image_analysis import MODEL_TO_FEATURE_SIZE_MAPPING, get_deep_features
  import numpy
label_desc: Use image node_id 7 for calling the ImageSimilarityTest obj's underlying member method code with example usage: obj.test_similarity_graph() without return types