dpeerlab/Palantir

palantir.preprocess.log_transform(ad) error

sailseem opened this issue · 3 comments

Dear developer,

I am kind of new to this, but i found palantir really helpful for my study. But when i run this function,
palantir.preprocess.log_transform(ad)

i got an error NotImplementedError: adding a nonzero scalar to a sparse matrix is not supported

I know someone brought this up before, but i am not clear how to solve it.
Sorry for this stupid question.

We have fixed this issue in the Github repository. Please clone the repository and re-install palantir

I had the same problem before. The issue was solved via git clone and reinstallation. But I still hope "pip install" can be fixed soon! Thanks a lot!

The fixes have been uploaded to Pypi and pip install also works now.