Skip to content

[FEATURE REQUEST] putting some internal code into C++ to increase speed #151

@svteichman

Description

@svteichman

I think that we could increase the speed of radEmu by using C++ for some of the computation. Calculations where this may be helpful are:

  • the inner loop of micro_fisher
  • each time we calculate the log-likelihood and its derivative, this happens in micro_fisher, macro_fisher_null, get_score_stat, f_info, and update_z
  • the calls to lapply within macro_fisher_null, especially matrix inversions, really most of computation in macro_fisher_null (if we are still using this null approach)
  • pseudo_huber_median
  • portions of get_score_stat - specifically looping over score contributions, covariance matrix computation, and inverting I * H^T
  • f_info, calculation of fisher information matrix

To come back to when @adw96 has a new statdivlab RA in the fall :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions