Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structure of tutorials and examples #32

Open
1 of 13 tasks
thomasrobiglio opened this issue Dec 6, 2023 · 3 comments
Open
1 of 13 tasks

Structure of tutorials and examples #32

thomasrobiglio opened this issue Dec 6, 2023 · 3 comments

Comments

@thomasrobiglio
Copy link
Contributor

thomasrobiglio commented Dec 6, 2023

Following the diataxis approach to documentation, I propose the following organization of tutorials and examples.

EXPLANATION -> theoretical explanations as already present here + references
(might require checking of the equations + adding some figures)

REFERENCE -> API documentation

TUTORIALS
The goal of this part is to guide the user through the structure of the important functions in the toolbox.

  • "Core information theoretical measures"
    Here the goal is to show how to compute entropy and mutual information. I think a simple case with entropy/MI of univariate Gaussians is ok.
  • "Higher-order information theoretical measures"
    Here we show for a single metric (O-info?) how the hoi.metrics class works. Something very similar to the existing example with RSI.
    Create a simple data, define the model, fit it, print the best multiplets, and plot the results
  • "Simulation of HOI"

HOW-TO GUIDES -> Examples
This consists of a gallery of examples (one per metric?) showing the computation of the given metric on simple data (similar to what is done in the corresponding tutorial but with shorter descriptions).

  • Oinfo
  • InfoTopo
  • TC
  • DTC
  • Sinfo
  • GradientOinfo
  • RSI
  • RedundancyMMI
  • SynergyMMI
  • InfoTot
@Mattehub
Copy link
Collaborator

Mattehub commented Jun 26, 2024

@EtienneCmb, I am working on examples and tutorials, it is ok to have one example per metric? For sure there will be some redundancy and repetition: many times the application of different metrics is very similar. But at the same time, there are differences in all the metrics, so if you agree I will add one example per metric. Let me know what you think about that.

@EtienneCmb
Copy link
Collaborator

@Mattehub I agree that the code is going to be highly redundant. Maybe a comparison between metrics might be better. I planned a list of examples, I'm working on this right now. If you can, it might be better to clean your function for simulating HOI using gaussians.

@Mattehub
Copy link
Collaborator

OK, perfect! Thanks for telling me. So I go to clean the gaussian simulation functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants