Closed fractaldragonflies closed 4 years ago
Will make suggested changes today. Since simple function will use namespace of the module, not a problem! [Remnant from my Java days.] Some related issues that I would value advice/conversation on.
Highlights are:
Just added and example with a few changes in code otherwise. Could I revert the merge and then remerge?
No, but you can just push it without making a PR. Or you just make another PR and add it withough review ;)
Following Mattis' initial refactoring of Markov and introduction of Attrs and other changes for both Markov and Neural, I've refactored the Neural modules, corrected a few glitches, and updated testing. Significant refactoring is in splitting Neural into Native and Dual components; and in splitting Entropies (was call neural_tf in a previous incarnation) into Recurrent and Attention components.
Config following initial work by Mattis is in data classes where RecurrentSettings and AttentionSettings classes are the most distant from BaseSettings. Settings is a parameter for all high level modules and the same settings reference (if using Attention or Recurrent) can be transmitted from top level Neural modules to lower level data or neural entropy modules.
Still lacking are reworked examples. Also I would like to include a notebook example.
Maybe separately I intend to verify similar performance to my original draft paper (using original WOLD representation), and to my subsequent collection of tables using FormChars, Token segments, and SCA encodings.