Пример #1
0
    def test_fuzzy2(self, nx):
        from lingpy.algorithm.clustering import fuzzy

        for method in 'upgma simple complete'.split():
            for revert in [True, False]:
                fuzzy(0.5, [[1, 0], [0, 1]], ['a', 'b'],
                      method=method,
                      revert=revert)
Пример #2
0
 def test_fuzzy(self):
     from lingpy.algorithm.clustering import fuzzy
     for method in 'upgma simple complete'.split():
         for revert in [True, False]:
             fuzzy(0.5,
                   self.matrix,
                   self.taxa,
                   method=method,
                   revert=revert)
Пример #3
0
    def test_fuzzy1(self):
        from lingpy.algorithm.clustering import fuzzy

        assert fuzzy(0.5, [[1, 0], [0, 1]], ['a', 'b']) is None
Пример #4
0
    def test_fuzzy2(self, nx):
        from lingpy.algorithm.clustering import fuzzy

        for method in 'upgma simple complete'.split():
            for revert in [True, False]:
                fuzzy(0.5, [[1, 0], [0, 1]], ['a', 'b'], method=method, revert=revert)
Пример #5
0
    def test_fuzzy1(self):
        from lingpy.algorithm.clustering import fuzzy

        assert fuzzy(0.5, [[1, 0], [0, 1]], ['a', 'b']) is None
Пример #6
0
 def test_fuzzy(self):
     from lingpy.algorithm.clustering import fuzzy
     for method in 'upgma simple complete'.split():
         for revert in [True, False]:
             fuzzy(0.5, self.matrix, self.taxa, method=method, revert=revert)