-
Notifications
You must be signed in to change notification settings - Fork 13
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
add inference #79
add inference #79
Conversation
Pull Request Test Coverage Report for Build 6700074205
💛 - Coveralls |
Nice! What does this PR do? |
Hi @mkborregaard - Emily is my PhD student and she is writing code to do trait inference and calculations of phylogenetic signal on trees, so she's initially reproducing some R |
Sounds amazing! I guessed as much :-) would it be nicest if I interact/comment on the PRs or better if I just keep hands off? |
It would be great to have your input in a bit, though if you have any obvious thoughts feel free to chip in. It's very much WIP at the moment though (I've formally converted it to a draft), so feedback once it's a bit more advanced would be very helpful. |
@ejd99 - I've updated the code to use a union of a Dual and a Float64 by default, but you can select a Number (2-3x as slow!) or Float64 (5 times faster, but doesn't work with lambda). The code still scales linearly with number of tips, and on my M1 Max, it looks like it would run a 200,000 tip tree with just β and σ is about 3 hours, and β, σ and λ in about 20 hours. Obviously if I can work out how to select the data type better so it's completely type stable it'll hopefully speed up more, but this is a good start.
|
I've identified an error in how you were using lambda in Edit: Looking at the speeds, I suspect that it's scaling as |
…fter droptips!().
No description provided.