rdkit.ML.KNN.UnitTestKNN module — The RDKit 2016.09.1 documentation

# rdkit.ML.KNN.UnitTestKNN module

unit testing code for knn models

class `rdkit.ML.KNN.UnitTestKNN.` `TestCase`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  `setUp`()
  `test1Neighbors`()
  `test2XValClass`()
  `test3Regress`()
  `test4XValRegress`()

`rdkit.ML.KNN.UnitTestKNN.` `feq`(a, b, tol=0.0001)

`rdkit.ML.KNN.UnitTestKNN.` `load_tests`(loader, tests, ignore)

  Add the Doctests from the module