ArnaoutLab / diversity

Partitioned frequency- and similarity-sensitive diversity in Python
MIT License
6 stars 1 forks source link

allow abundance matrix to be sparse #96

Open chhotii-alex opened 1 month ago

chhotii-alex commented 1 month ago

We thought we had this feature... but then it turns out that the unit tests were too shallow, didn't test that the sparse abundance matrix could participate correctly in the actual calculation. scipy.sparse implementations gum up the works in the power_mean functions.