class_docstr: Unit test class for an already trained Kmeans model.
docstr: Check the various 'get' methods against known answers for each field.
code: def test_get(self):
      """
      Check the various 'get' methods against known answers for each field.
      """
      correct_fields = {
          "max_iterations": self.max_iter,
          "row_label_name": "row_id",
          "num_clusters": self.K,
          "num_examples": self.n,
          "method": "elkan",
          "batch_size": self.n,
          "num_features": 2 * self.dim + 1,
      }
  
      print(self.model)
      for field, ans in correct_fields.items():
          self.assertEqual(
              self.model._get(field), ans, "{} failed".format(field)
          )
      self.assertGreaterEqual(self.model.training_time, 0)
      self.assertGreater(self.model.num_unpacked_features, self.n)
      self.assertItemsEqual(
          self.model.features,
          [
              "int0",
              "int1",
              "int2",
              "float0",
              "float1",
              "float2",
              "dict0",
          ],
      )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import copy
  import numpy
  from numpy.testing import assert_allclose
  import turicreate
  from .None import util
  from turicreate.util import _assert_sframe_equal
  from turicreate.toolkits._main import ToolkitError
  import sys
label_desc: Use image node_id 3 for calling the KmeansModelTest obj's underlying member method code with example usage: obj.test_get() without return types