Giter VIP home page Giter VIP logo

Comments (9)

pierrebaudot avatar pierrebaudot commented on May 21, 2024

Hello,
Thanks for notifying! There has been major reorganization of the package since 8 days and they are not all good or yet functional. I reverted to the previous working version. It shall work now (tell me if it does so that the issue can be closed). The pacakge will allow you to compute the Joint-entropies of H(precipitation, lst, solmoisture) but also of all the pairs like H(precipitation, moisture).... and the mutual informations etc. For this, just follow the tutorial:
https://infotopo.readthedocs.io/en/latest/basic_methods.html
You will have to install using (in command line in your environement):
pip install infotopo

then prepare your 80*3 matrix dataset as data in a python script.

then set the parameters (you may check different values of nb_of_values) :

dimension_max =data.shape[1]
dimension_tot = data.shape[1]
sample_size = data.shape[0]
nb_of_values =9
forward_computation_mode = False
work_on_transpose = False
supervised_mode = False
sampling_mode = 1
deformed_probability_mode = False

then import the package and initialise-build infotopo

import infotopo
information_topo = infotopo.infotopo(dimension_max = dimension_max,
                            dimension_tot = dimension_tot,
                            sample_size = sample_size,
                            work_on_transpose = work_on_transpose,
                            nb_of_values = nb_of_values,
                            sampling_mode = sampling_mode,
                            deformed_probability_mode = deformed_probability_mode,
                            supervised_mode = supervised_mode,
                            forward_computation_mode = forward_computation_mode)

then compute jonit and marginals entropy and display them using:

Nentropie = information_topo.simplicial_entropies_decomposition(data)
information_topo.entropy_simplicial_lanscape(Nentropie)

do the next procedure to have mutual informations and so on

from infotopopy.

OrdinarySK avatar OrdinarySK commented on May 21, 2024

Thank you very much. I will do it your way.

from infotopopy.

pierrebaudot avatar pierrebaudot commented on May 21, 2024

tell me if it works, such that I can close the issue.

from infotopopy.

OrdinarySK avatar OrdinarySK commented on May 21, 2024

I pip install infotopo , I still get an error when I import the package(import infotopo) in the Pycharm[No module named infotopo]. But the package was indeed downloaded and installed to my local library.

from infotopopy.

OrdinarySK avatar OrdinarySK commented on May 21, 2024

So, can I use the infotopo package normally now?

from infotopopy.

ganapathyramanathan avatar ganapathyramanathan commented on May 21, 2024

i am experiencing the same problem. i used google colab . but when i used import infotopo, i am getting the same error message. will be very much grateful to you if you could find a solution to the same. i was very much impressed with the results shown in the infotopo documentation.

from infotopopy.

ganapathyramanathan avatar ganapathyramanathan commented on May 21, 2024

i tried to install using python3 setup.py install. i got the following error message:
ModuleNotFoundError: No module named 'setuptools'

from infotopopy.

pierrebaudot avatar pierrebaudot commented on May 21, 2024

Dear,
Yes, I could reproduce the problem... and it is likely in the setup.py. I tried to fix it for some hours, but as of now my efforts failed. I will try again, but currently undergoe an overload of work. So, the way to use infotopo now is to download the infotopo.py and to make it run directly with your scripts. (notably all the examples in the documentation are in the main as unitary test). I appology for this unconvenient use.

from infotopopy.

pierrebaudot avatar pierrebaudot commented on May 21, 2024

The setup.py bug was fixed thanks to renxida.

from infotopopy.

Related Issues (3)

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.