Comments (5)
Hi, thank you for this comment and for using cNMF. It is strange that I'm not getting this error in settings outside of the tutorial and indeed I'm having a hard time reproducing the error. What version of numpy are you using? It seems reasonable for me to just update the code like you did to explicitly define the integer type
from cnmf.
Thanks for the reply and for publishing this great code!
I'm using numpy 1.21.5 with conda - Python 3.7
I think the install instructions don't indicate what version to use.
from cnmf.
Thanks for the reply and for publishing this great code! I'm using numpy 1.21.5 with conda - Python 3.7 I think the install instructions don't indicate what version to use.
In Python Version 3.7.12 with NumPy 1.21.6, the following method might be helpful:
modify
~\.conda\envs\cnmf_env\Lib\site-packages\cnmf\cnmf.py
In line 508, changehigh=(2**32)-1
intohigh=(2**31)-1
It works for me, might worth trying.
from cnmf.
I put the "508 nmf_seeds = np. Random. Randint (low = 1, high = (2 * * 32) - 1, size = n_runs)" in "high = (2 * * 32) - 1" replaced by "high = (2 * * 31) - 1", runs successfully!
from cnmf.
Adjusted in commit c94962d
from cnmf.
Related Issues (20)
- Discrepancies in 'k' Output: Command Line vs. Python Environment HOT 4
- Usages matrix is empty HOT 2
- Usage sum of each cell is over 1 HOT 3
- Variance Normalization HOT 1
- How to adjust the convergence limit for the underlying sklearn NMF when using the command-line version of cNMF HOT 4
- Seurat integration HOT 1
- no top_genes in outputs HOT 1
- the sign "&" in cNMF parallelization HOT 2
- [Error] zero counts of overdispersed genes HOT 3
- Estimating Usage of GEP in another data set? HOT 4
- highly variable genes problem HOT 1
- preprocess argument bug HOT 1
- Applying cNMF on semi-supervised scRNA clustering HOT 2
- Batch correction HOT 1
- An error of cnmf combine
- How to use more than 1 worker in Jupyter? HOT 1
- Batch correction for Seurat objects HOT 2
- Batch correction error HOT 2
- Is cNMF equally effective for spatial transcriptomics? HOT 1
- Batch correction when capturing meta-program from multiple samples HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cnmf.