Giter Site home page Giter Site logo

neoneuron / minfo Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 221 KB

Mutual information estimator with adaptive partitioning algorithm (C++/OpenMP accelerated).

License: MIT License

Python 54.34% C++ 20.22% Jupyter Notebook 20.20% Cython 5.23%
cython mutual-information numba openmp-parallelization python

minfo's Introduction

Hi there ๐Ÿ‘‹

I'm Kai Chen ๐Ÿ‡จ๐Ÿ‡ณ !

๐Ÿง  I love studying brain.

๐Ÿ–ฅ I love studying artificial computing systems.

๐Ÿง‘๐Ÿปโ€๐Ÿ’ป I love coding and fancy geek tools.

๐Ÿ˜† I hope to interact with the world through interesting projects.

minfo's People

Contributors

neoneuron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

minfo's Issues

Add required python version to readme

Took trial and error to install this package. Should add the Python version that this package was built for in the readme.

For anybody that comes across this, Python 3.7 is what worked for me.

omp_get_thread_num

Hello, I've been using your software to estimate mutual information for a while now, and suddenly I keep running into these issue. Would you know what to make of the following ?

This happens when I try importing the library in my python scripts:

File "/home/lionel/miniconda3/envs/perso/lib/python3.8/site-packages/minfo/init.py", line 3, in
from . import mi_float # dynamic lib must be imported after some other modules

ImportError: /home/lionel/miniconda3/envs/perso/lib/python3.8/site-packages/minfo/mi_float.cpython-38-x86_64-linux-gnu.so: undefined symbol: omp_get_thread_num

Any help is greatly appreciated.

ImportError: undefined symbol: omp_get_thread_num

Environment:

  • Python==3.7.11

Dependency:

  • Numpy==1.21.2
  • Cython==0.29.24

Issue content:

Error occurs when running example/example.py

ImportError: /home/kchen/mutual_information/minfo/mi_float.cpython-37m-x86_64-linux-gnu.so: undefined symbol: omp_get_thread_num

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.