Skip to content

Incorporate correlation features into IndependentLikelihood

Jonathan Jones requested to merge corr-lm into master

General updates:

  • annotationgui.py, datacollectiongui.py set matplotlib backend themselves (instead of relying on modules imported later)

Significant updates to annotationgui.py:

  • Integrated BlockAssembly objects to handle state updates and visualization
  • Stop up/down arrow keypresses from making input in notes entry box
  • Pressing in notes entry box submits the note
  • Added button to undo a note
  • Action label checks now reference new label categories in definitions.py instead of hardcoded values
  • Tweaks to UI layout
  • Improved organization and style

Minor updates to blockassembly.py:

  • Visualization methods now return full path to the generated image file instead of just its filename

Minor updates to definitions.py:

  • Added action categories
  • Tweaked event string formatting; event2str now takes tuple or np structured array slice as arguments
  • Added note2str function (similar to event2str)

Minor updates to duplocorpus.py:

  • notesFileExists method checks for notes like labelsFileExists checks for labels

Significant updates to models.py:

  • Renamed Coupled[LatentVariables,Hmm] --> Clique[LatentVariables, Hmm]
  • Added vertex, edge attributes for latent vars
  • Separated vertex, edge likelihoods in IndependentLikelihood (edge likelihoods incomplete)
  • Improved organization and style

Merge request reports

Loading