class_docstr: Unit test class for testing scikit-learn converter.
class_docstr_tok: ["Unit","test","class","for","testing","scikit-learn","converter","."]
docstr: Test a scikit KNeighborsClassifier with an invalid algorithm.
docstr_tok: ["Test","a","scikit","KNeighborsClassifier","with","an","invalid","algorithm","."]
code: def test_conversion_unsupported_algorithm(self):
      """Test a scikit KNeighborsClassifier with an invalid algorithm."""
      scikit_model = KNeighborsClassifier(algorithm="ball_tree")
      self.assertRaises(TypeError, sklearn.convert, scikit_model)
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/test/sklearn_tests/test_k_neighbors_classifier.py
imports: import unittest
  import numpy
  from scipy import sparse
  from coremltools._deps import _HAS_SKLEARN
label_desc: Use image node_id 6 for calling the KNeighborsClassifierScikitTest obj's underlying member method code with example usage: obj.test_conversion_unsupported_algorithm() without return types