Giter Club home page Giter Club logo

machineboss's Issues

ViterbiMatrix should not softplus all transitions

Only those into cpt_end states. (And specifically not those into end.)
This is causing discrepancies between Viterbi matrix score & path score.
Need to explicitly flag some states as softplus-able.

Fix optimizer

  • Change TransWeight -> WeightFunc
  • typedef map<string,json> FuncDefs
  • Change Params in WeightAlgebra to FuncDefs
  • use change of variables instead of Lagrange multipliers

Alignment envelopes

  • Envelope data structure
  • Initialize from MachinePath
  • connected method (tests all start/end intervals overlap & touch corners)
  • Adapt containers to use packed storage
  • Adapt iterators (this is really #18)
  • SeqPair path property (can be empty)

Banded initializer is now #66

Simulator

All cases (conditioned on input, output, both, or neither) can be reduced to the null machine (empty input & output) by appropriate compositions with generators/acceptors.
Then, that null machine can be solved by matrix inversion. In fact, the machine is acyclic & topologically sorted at this point, so the inversion can be done efficiently by calculating the sum-over-paths likelihood from each state to the end state.

segmenter not working

e.g.
nanomachine -R seq1-test1.raw -M test1.json -v8 -C -d TraceViterbiMatrix -f .00001
should give same results as
nanomachine -R seq1-test1.raw -M test1.json -v8 -C -d TraceViterbiMatrix -g 1
but doesn't

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.