It actually "works" with the "proper" test case, converged to sensiable numbers instead of both converged to the same places
Refactor MutationProb and EvolutionModel, only need to update evo_model now.
Implemented more unittest.
Still need to deal with floating point (potential) problem
More refactor, working towards EM class.
Rename lots of files, use git log --follow -p
Halfway towards creating a semi-generic EM structure. Working now, might break it soon so commit incomplete work
Partially working em_data/model. Not quite refactored properly yet.
Potentially vector<EmData*> cause problem when init the vector, need "new" to make sure it work. Redesigned with unique_ptr
Commit using clion, hope it didn't break anything.
Refactor the EM algrorthm, the E step is working woth EmData/EmModel.
Another commit using clion, hope it didn't break anything.
Refactor out M step, initial test working, need test a bit more.
Ready in start to implement Binomial model and do some validations.
Completely refactor out data/model/algorithm, implemented for both Binomial and mutation.
Need to build more test case
NOT working copy, try to turn everything into unique_ptr, which need to define something like static_cast_unqiue_ptr. Let's redo it some other way
Done with copy constructor, don't need to create multiple unique_ptr outside the class. Done some inital testing