class_docstr: Unit test class for model creation process under various option values and
  types of input data.
class_docstr_tok: ["Unit","test","class","for","model","creation","process","under","various","option","values","and","types","of","input","data","."]
docstr: Make sure inputs to the create() method are not mutated.
docstr_tok: ["Make","sure","inputs","to","the","create","(",")","method","are","not","mutated","."]
code: def test_input_mutations(self):
      """
      Make sure inputs to the create() method are not mutated.
      """
  
      ## Make copies of key objects
      sf = self.sf[:]
      distance = copy.deepcopy(self.distance)
      verbose = self.verbose
  
      ## Create a model with the copied objects
      m = tc.nearest_neighbor_classifier.create(
          sf, target="class", distance=distance, verbose=self.verbose
      )
  
      ## Check that the copies still equal the originals
      assert_sframe_equal(sf, self.sf)
      self.assertEqual(distance, self.distance)
      self.assertEqual(verbose, self.verbose)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import copy
  import array
  import numpy
  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 2 for calling the KnnClassifierCreateTest obj's underlying member method code with example usage: obj.test_input_mutations() without return types