Giter Site home page Giter Site logo

Comments (3)

roblanf avatar roblanf commented on August 11, 2024

OK, there are two issues here.

FIrst, —merge greedy isn’t working to force it to do the greedy algorithm. The fix is to make sure that when the default -rcluster-max is specified, it doesn’t overwrite the —merge option. The upshot of this issue is that the algorithm here was rcluster, not greedy.

Second, we now understand why the number of schemes wasn’t right, even for the rcluster algorithm. We have a cool new feature for the rcluster algorithm which we forgot about! In the original in partition finder, we take the e.g. 10% of closest pairs based on absolute difference. THe issue with that is that we’ll choose lower-rate pairs preferentially, because they have the lower difference. So we’ve added a feature where we take the union of two sets:

  1. The rcluster-max closest in absolute rate difference
  2. The rcluster-max closest in log(rate) difference

The upshot is that the number of schemes in every step is between rcluster-max and 2*rcluster_max

from iqtree2.

roblanf avatar roblanf commented on August 11, 2024

@bqminh can you post here when --merge greedy is working. Details in comment above.

from iqtree2.

thomaskf avatar thomaskf commented on August 11, 2024

Hi Rob,

Thanks for reporting the issue. It was due to an upper bound introduced for the number of candidates when computing the best-fit partition scheme.

In version 2.2.2.8 (https://github.com/iqtree/iqtree2/releases/tag/v2.2.2.8), the issue has been fixed and the greedy algorithm for computing the best-fit partitioning scheme (i.e. option: --merge greedy) should work as expected.

Thomas

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.