Comments (10)
Did you find the solution for that? as i am encountering the same problem.
from pymrmr.
Hi @Kein0112,
Could you provide me a test matrix that generates such error so I can debug it?
Thanks,
Francesco
from pymrmr.
@shm-smn could you share a test matrix to understand the issue?
Thanks
from pymrmr.
@fbrundu I just occurred the same problem. Do you familiar with this problem?
from pymrmr.
@terminator9487 could you share some test data to understand the issue?
Thanks
from pymrmr.
Of course, Could I have you email address?
from pymrmr.
If it's not private you can just drop it here. Can you anonymize it?
from pymrmr.
Hi! I am experiencing the same problem when inputing this matrix (which is a subset of a larger one for which I get the same error):
disease g1 g2 g3
CTR 0.000482 0.0 0.0
CRC 0.003343 0.0 0.0
CRC 0.006969 0.0 0.0
CTR 0.000000 0.0 0.0
Any idea of what the problem could be? Thanks in advanced!
from pymrmr.
Hi @AlvaroRodriguezDelRio !
I looked at the error and got to know that it is caused by the file pymrmr.pyx
Upon more debugging I found that it's because in the source file pymrmr.pyx where the mRMR function is defined, there's a line as follows:
def mRMR(data, method, nfeats):
cdef vector[vector[int]] _data = data.copy().values
In the line 2, you can see that the values of the input data, that's, the actual CSV file is copied into a int cell of the 2d vector. On the other hand, the data file you input contains values in float format, due to which it is giving the TypeError.
I'll create a pull request after making the appropriate changes to the pymrmr.pyx file.
I hope this might help you.
Thanks
from pymrmr.
Thanks a lot for your answer @noobyogi0010 ! This was really helpful, I will be looking forward to the new updated version with the changes you propose!
from pymrmr.
Related Issues (20)
- pip installation error HOT 1
- ImportError HOT 6
- Install error: [WinError 2] HOT 7
- Cant install on mac HOT 1
- Pip Install Error - command 'x86_64-linux-gnu-gcc' failed with exit status 1 HOT 3
- Unable to install "pip install pymrmr" | Error - "gcc.exe' failed with exit status 1" on Local machine "Window 10"
- MemoryError: bad array new length HOT 2
- pymrmr.cpp and in this repo on PyPi does not support python 3.7
- Latest pip install fails on windows 10 despite available visual studio HOT 1
- Import Error: reason: image not found HOT 4
- Error in installing pymrmr via pip HOT 1
- mRMR score and sorting HOT 3
- install failed HOT 4
- Process finished with exit code -1073741819 (0xC0000005)
- Cannot install pymrmr HOT 4
- how to apply pymrmr on continuous variables HOT 1
- How to get score table of all features? HOT 2
- Error in installing pymrmr via pip
- Help on discretization
- Error Installing in pymrmr
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 pymrmr.