Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates raxml to allow for floating point site weights #113

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

computations
Copy link
Contributor

@computations computations commented Jan 27, 2021

Implement the changes required for the lasso regression ML thing. Everything should be working, but here is what I have verified:

  • Full run (--all) completes without error
  • Generates reasonable bootstrap replicates
  • Computes the Correct log likelihood

I think this should be sufficient for the researchers in Israel to finish their work, but please let me know if more is required.

A quick note about the FloatWeightVector. I decided that this was needed for 2 reasons:

  1. Floats are sufficiently different from integers to require a distinction in weights.
  2. WeightVector was used in contexts were using floats was inappropriate.

But I can understand if you want only one WeightVector type. If this is the case, I will compact them into a single type by migrating the old WeightVectors to something like std::vector<uintType>

We erroniously converted the site weights to ints, even though they
could be floats. This means that any sites with a weight less than 1 was
trimmed. This change simply updates the type in the lambda.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant