Skip to content

GForce could be even smarter #7594

@ben-schwen

Description

@ben-schwen

reading this inspires some stretch goals for future work:

  • GForce for simple regression coefficients ((mean(x*y) - mean(x)*mean(y))/(mean(x^2) - mean(x)^2))
  • sqrt(min(a)) could do GForce aggregation
  • list(mean(x)/sd(x), mean(x), sd(x)) could only compute mean(), sd() once
  • max(x) - min(x) could compute range() with GForce and then derive min, max (i.e., single pass instead of two)

Originally posted by @MichaelChirico in #7401 (comment)

#7401 is a nice start, but we could start caching and rewriting things more to spare some passes over data

Metadata

Metadata

Assignees

No one assigned

    Labels

    GForceissues relating to optimized grouping calculations (GForce)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions