Skip to content

Commit

Permalink
remove unit test of stochastic func
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibor committed Jun 27, 2019
1 parent b18f982 commit 66f9c0d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/test_ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,6 @@ def test_sourcemap_embed_TSNE(sm):
assert generate_pd_md5(sm.sink_t) == 'e63b98a71ea1c444bd97659ba8a322f8'


def test_sourcemap_embed_UMAP(sm):
sm.compute_distance(distance_method='weighted_unifrac', rank='species')
sm.embed(n_comp=2, method='UMAP', seed=42, out_csv=None)

assert generate_pd_md5(sm.my_embed) in [
'76fa6131ff850228da5226e560dc0bfd', 'bc318da9b97c67995cabb6871d5df0c6']
assert generate_pd_md5(sm.ref_t) in [
'ee35d3c877530e8ed361c3c71475b026', '6b5f99a377e863b901f8457a56539eaa']
assert generate_pd_md5(sm.sink_t) in [
'ed4e993c4ee284735d9fd6cd4e6b71eb', 'de2d0e5734898f8bc91bef1f5431ad27']


def test_sourcemap_embed_MDS(sm):
sm.compute_distance(distance_method='weighted_unifrac', rank='species')
sm.embed(n_comp=2, method='MDS', seed=42, out_csv=None)
Expand Down

0 comments on commit 66f9c0d

Please sign in to comment.