[ 
https://issues.apache.org/jira/browse/STATISTICS-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709596#comment-17709596
 ] 

Anirudh Joshi commented on STATISTICS-54:
-----------------------------------------

Hi Alex, Gilles, I was thinking about the new API design. To support the use 
case where we accept the specific statistics we would want to compute, we would 
have to gate the computation logic based on which statistic we are computing. 
For example if we are only computing the Mean, we can skip computing variance 
statistic. But this might lead us to MATH-1228 which slows add operation 
because we are evaluating some conditionals to see what statistics we need to 
compute on every call to add ? I would like to know your thoughts on this.

> [GSoC] Summary statistics API for Java 8 streams
> ------------------------------------------------
>
>                 Key: STATISTICS-54
>                 URL: https://issues.apache.org/jira/browse/STATISTICS-54
>             Project: Commons Statistics
>          Issue Type: Wish
>          Components: descriptive
>            Reporter: Alex Herbert
>            Priority: Minor
>              Labels: full-time, gsoc, gsoc2022, gsoc2023
>             Fix For: 1.0
>
>
> Placeholder for tasks that could be undertaken in this year's 
> [GSoC|https://summerofcode.withgoogle.com/].
> Ideas:
> - Design an updated summary statistics API for use with Java 8 streams based 
> on the summary statistic implementations in the Commons Math 
> {{stat.descriptive}} package including {{{}moments{}}}, {{rank}} and 
> {{summary}} sub-packages.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to