Skip to content

refactor embo to be class based

Jon Levine requested to merge jonathan/refactor into master
  • I changed a bunch of small things (like spaces and comments) to just be better python style
  • I changed the main meat of core.py and the tests to be class based, and the examples will still need to be changed to match the new format The new way of interacting should be evident from looking at the refactored unit tests, but it's basically like
eb = embo.EmpiricalBottleneck(x, y, maxbeta=10)

i_p = eb.get_ipast()

i_f = eb.get_ifuture()

mi = eb.get_saturation_point()

hx, hy = eb.get_entropies()

Merge request reports