Closed HannesHolste closed 8 years ago
@HannesHolste, could you add a note, just for reference, of why is fine to close this issue? Thanks.
Agreed:
Though the output of unweighted_unifrac_pc.txt
appeared to be 9 dimensions, closer inspection revealed that the last dimension just consisted of zeros. Hence it seemed misleading, but was actually 8 dimensions.
using the provided dm & pcoa output files, I am unable to test SSVD.
cc @antgonza
unweighted_unifrac_dm.txt unweighted_unifrac_pc.txt
Because:
Here, the order of the distance matrix in
unweighted_unifrac_dm.txt
is 9, which is the same order as the expected pcoa output inunweighted_unifrac_dm.txt
(by order, does scipy mean linear algebra matrix rank ?).Indeed, as one can see from the docs, this is a limitation of
scipy.sparse.linalg.eigsh
:Therefore, eigsh fails. As far as I can see, one possible solution would be if you could provide me a
unweighted_unifrac_pc.txt
generated from the sameunweighted_unifrac_pc.txt
where the dimensionality/order/rank is 8, so I can test by doing:mdsa run --algorithm ssvd --dimensions 8 ./data/unweighted_unifrac_dm.txt