lingpy.tests.algorithm package

Submodules

lingpy.tests.algorithm.test_clustering module

class lingpy.tests.algorithm.test_clustering.Tests(methodName='runTest')

Bases: lingpy.tests.util.WithTempDir

setUp()
test_best_threshold()
test_find_threshold()
test_flat_cluster()
test_fuzzy()
test_matrix2groups()
test_matrix2tree()
test_partition_density()

lingpy.tests.algorithm.test_cython module

class lingpy.tests.algorithm.test_cython.Tests

Bases: object

setUp()
test__calign()
test__malign()
test__talign()
test_corrdist()

lingpy.tests.algorithm.test_extra module

class lingpy.tests.algorithm.test_extra.Cluster(*args, **kw)

Bases: mock.mock.MagicMock

class AffinityPropagation(*args, **kw)

Bases: object

fit_predict(arg)
Cluster.dbscan(*args, **kw)
class lingpy.tests.algorithm.test_extra.Igraph(*args, **kw)

Bases: mock.mock.MagicMock

class Graph(vs=[])

Bases: object

add_edge(a, b)
add_vertex(vertex)
community_infomap(*args, **kw)
class lingpy.tests.algorithm.test_extra.Tests

Bases: object

setUp()
test_affinity_propagation()
test_clustering()
test_dbscan()
test_infomap_clustering()
class lingpy.tests.algorithm.test_extra.components(nodes)

Bases: object

subgraphs()

Module contents