amkozlov / raxml-ng

RAxML Next Generation: faster, easier-to-use and more flexible
GNU Affero General Public License v3.0
376 stars 62 forks source link

Updates raxml to allow for floating point site weights #113

Open computations opened 3 years ago

computations commented 3 years ago

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

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>