code: def test_export_core_ml_no_prediction(self):
      import platform
      import coremltools
  
      with TempDirectory() as temp_dir:
          file_name = temp_dir + "/model.mlmodel"
          self.model.export_coreml(file_name)
          core_ml_model = coremltools.models.MLModel(file_name)
  
      # Check metadata
      metadata = (
          core_ml_model.get_spec().description.metadata.userDefined
      )
  
      self.assertEqual(metadata["sampleRate"], "16000")
      self.assertEqual(
          metadata["com.github.apple.turicreate.version"],
          tc.__version__,
      )
      self.assertEqual(
          metadata["com.github.apple.os.platform"], platform.platform()
      )
      self.assertEqual(metadata["type"], "SoundClassifier")
      self.assertEqual(metadata["version"], "1")
  
      expected_result = (
          "Sound classifier created by Turi Create (version %s)"
          % (tc.__version__)
      )
      self.assertEquals(
          expected_result, core_ml_model.short_description
      )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from .util import TempDirectory
  from copy import copy
  import math
  from os import mkdir
  import unittest
  import pytest
  import numpy
  import sys
  import turicreate
  from turicreate.toolkits._internal_utils import _raise_error_if_not_sarray
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits._internal_utils import _mac_ver
label_desc: Use image node_id 8 for calling the ClassifierTestTwoClassesStringLabels obj's underlying member method code with example usage: obj.test_export_core_ml_no_prediction() without return types