Skip to content

Updates raxml to allow for floating point site weights#113

Open
computations wants to merge 4 commits into
amkozlov:masterfrom
computations:floating_weights
Open

Updates raxml to allow for floating point site weights#113
computations wants to merge 4 commits into
amkozlov:masterfrom
computations:floating_weights

Conversation

@computations
Copy link
Copy Markdown
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