Collective-Logic-Lab / Neet

Simulating and analyzing dynamical network models
https://neet.readthedocs.io/en/stable
Other
0 stars 0 forks source link

Enrico's idea: Compute sampled basin entropy given known attractors #4

Closed bcdaniels closed 9 months ago

bcdaniels commented 9 months ago

The current version of sampled basin entropy (controlkernel.modularity.sampled_basin_entropy) implicitly assumes that attractors found starting from the sampled initial conditions are the only possible attractors. In many cases, we will be able to find all attractors exactly using the modularity code, but won't be able to find the exact basin entropy (because we won't be able to compute the exact transition graph).

If we instead give sampled_basin_entropy the known complete set of attractors, we should be able to use that to find the expected basin sizes of all attractors given our finite sampling (e.g. in a Bayesian analysis), even for attractors that we never find using sampling. This will likely give a much better estimate of basin entropy for cases with attractors with very small basins.

bcdaniels commented 9 months ago

This is now implemented in controlkernel.modularity.sampled_basin_counts and controlkernel.modularity.sampled_basin_entropy_NSB.