You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/28 17:56:00 UTC

[jira] [Commented] (TINKERPOP-2487) Add steps to support basic analysis like standard deviation and percentile

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

ASF GitHub Bot commented on TINKERPOP-2487:
-------------------------------------------

krlawrence commented on pull request #1375:
URL: https://github.com/apache/tinkerpop/pull/1375#issuecomment-1080966381


   This PR looked promising but appears to have stalled. Are you considering completing this work @junshiguo ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Add steps to support basic analysis like standard deviation and percentile
> --------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2487
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2487
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.4.8
>            Reporter: Guo Junshi
>            Priority: Minor
>
> When using tinkerpop Gremlin for real use cases, we found that some general analytical steps are very useful, yet not supported now. Some analytical steps are general enough to be part of the official gremlin package, e.g. steps to calculate standard deviation and percentile. The example usage might be:
>  
> {code:java}
> gremlin> g.V().values('ages')
> ==>1
> ==>2
> ==>3
> gremlin> g.V().values('ages').stdev()
> ==>0.816
> gremlin> g.V().values('ages').fold().stdev(Scope.local)
> ==>0.816
> gremlin> g.V().values('ages').percentile(50)
> ==>2
> // one percentile, return single value
> gremlin> g.V().values('ages').percentile(0, 100)
> ==>[0: 1, 100: 3]
> // multiple percentiles, return a map{code}
> These steps are frequently used in our cases, and we think it would be great to support them in official versions. 
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)