code: def _make_image_dataset(self):
      dataset = fo.Dataset()
      dataset.add_samples(
          [
              fo.Sample(filepath="image1.png"),
              fo.Sample(filepath="image2.png"),
              fo.Sample(filepath="image3.png"),
              fo.Sample(filepath="image4.png"),
              fo.Sample(filepath="image5.png"),
              fo.Sample(filepath="image6.png"),
              fo.Sample(filepath="image7.png"),
              fo.Sample(filepath="image8.png"),
              fo.Sample(filepath="image9.png"),
          ]
      )
  
      embeddings = np.random.randn(9, 4)
  
      fob.compute_similarity(
          dataset,
          embeddings=embeddings,
          brain_key="img_sim",
      )
  
      return dataset
  
file_path: fiftyone/tests/unittests/similarity_tests.py
imports: import unittest
  import numpy
  import fiftyone
  import fiftyone.brain
  from fiftyone.core.brain import BrainMethod
  from fiftyone.core.evaluation import EvaluationMethod
  from decorators import drop_datasets
label_desc: Use image node_id 1 for calling the SimilarityTests obj's underlying member method code with example usage: obj._make_image_dataset() and returns: dataset