Skip to content

Radmeth optimizations for continuous values - #302

Merged
andrewdavidsmith merged 33 commits into
masterfrom
radmeth-optimizations
Oct 22, 2025
Merged

Radmeth optimizations for continuous values#302
andrewdavidsmith merged 33 commits into
masterfrom
radmeth-optimizations

Conversation

@andrewdavidsmith

Copy link
Copy Markdown
Collaborator

Includes several options for optimization, including using the digamma and continuous values, which is slower but more accurate. For counts, the optmized series method is still present. Currently the nano uses the continuous, and the regular radmeth uses the series, but future optimizations should allow for both digamma and series for the counts when the digamma will be faster (it seems as accurate currently)

… functions via Chebyschev polynomial approximation for the gradient calculations. Number of coeffs to use is still to be determined.
…n a separate file for optimizing paramters of the model for nano with fractional observations
…te optimization, with the newer code moved to the new file radmeth_optimize_nano.hcpp for fractional
… and almost identical to regular radmeth.cpp
…s and templating the counts for integer vs. fractional and putting all the cache structures into one class
…ass instead of RegressionNano which was removed
@andrewdavidsmith
andrewdavidsmith merged commit 545859e into master Oct 22, 2025
6 checks passed
@andrewdavidsmith
andrewdavidsmith deleted the radmeth-optimizations branch October 22, 2025 21:38
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