Skip to content

Proposal to standardize basic statistical functions #10

Closed
@kgryte

Description

@kgryte

Based on the analysis of array library APIs, we know that performing basic statistical functions is both universally implemented and commonly used. Accordingly, this issue proposes to standardize the following functions:

Functions

  • mean
  • prod
  • std
  • sum
  • var
  • min (minimum)
  • max (maximum)

Criterion

  1. Commonly implemented across array libraries.
  2. Commonly used by array library consumers.
  3. Operates on one array.

Questions

  1. Are there any APIs listed above which should not be standardized?
  2. Are there basic statistical functions not listed above which should be standardized? Preferably, any additions should be supported by usage data.
  3. Should the standard recommend algorithms for increased portability? For reductions, mandating minimum precision requirements is more fraught than for the evaluation of elementary mathematical functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions