Mercurial > hg > tvii
comparison tests/test_kmeans.py @ 88:596dac7f3e98
py3 compat
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Sun, 17 Dec 2017 14:08:48 -0800 |
| parents | 9d5a5e9f5c3b |
| children |
comparison
equal
deleted
inserted
replaced
| 87:9d5a5e9f5c3b | 88:596dac7f3e98 |
|---|---|
| 4 tests K means algorithm | 4 tests K means algorithm |
| 5 """ | 5 """ |
| 6 | 6 |
| 7 import unittest | 7 import unittest |
| 8 from tvii import kmeans | 8 from tvii import kmeans |
| 9 from nettwerk.dataset.circle import CircularRandom | 9 from tvii.dataset.circle import CircularRandom |
| 10 | 10 |
| 11 | 11 |
| 12 class TestKMeans(unittest.TestCase): | 12 class TestKMeans(unittest.TestCase): |
| 13 | 13 |
| 14 def test_dualing_gaussians(self): | 14 def test_dualing_gaussians(self): |
