MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_preprocessing

Method test_preprocessing

tests/test_hep_ml.py:8–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6
7class TestHepML(unittest.TestCase):
8 def test_preprocessing(self):
9 X = np.array([[1.1, 1.2, 1.3],[5.1, 6.4, 10.5]])
10 transformer = BinTransformer().fit(X)
11 new_X = transformer.transform(X)
12
13 self.assertEqual((2, 3), new_X.shape)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected