Giter Site home page Giter Site logo

Improve optimisers for +R models about iqtree2 HOT 2 OPEN

iqtree avatar iqtree commented on August 11, 2024
Improve optimisers for +R models

from iqtree2.

Comments (2)

bqminh avatar bqminh commented on August 11, 2024

This is done already, i.e. R4 parameters are initialised from the R3. In the code it's this function: RateFree::initFromCatMinusOne() of model/ratefree.cpp,

void RateFree::initFromCatMinusOne() {
.
However, this is only one way of initialisation. Happy to chat if you have 'better' suggestions. Anyway, a lot of testings will be needed...

from iqtree2.

roblanf avatar roblanf commented on August 11, 2024

My suggestion is not quite the same. It's that we initially hold the CatMinusOne parameters constant, and only optimise the new parameter. Once that's done, we optimise all of them.

E.g. if R2 gave: 0.1, 2.0

Then we initialise R3 with 0.1, 2.0, New

And we hold 0.1, 2.0 constant while finding the optimum value of New (allowing it to be anything from the minimum to maximum bound, i.e. smaller than 0.1, between 0.1 and 2.0, and larger than 2.0).

This might give e.g.

R3: New=0.08, 0.1, 2.0; 0.1, New=0.5, 2.0; 0.1, 2.0, New=3.2 etc.

It should be simple to find a better likelihood like this, because we are optimising a single parameter.

The final step is to optimise all parameters at once, using the values from the prior step as the initialisation.

Happy to test this if someone can implement it.

from iqtree2.

Related Issues (20)

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.