[
https://issues.apache.org/jira/browse/SOLR-13391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16814745#comment-16814745
]
Nazerke Seidan commented on SOLR-13391:
---------------------------------------
[~joel.bernstein], I have ready code on this to the pull request. What I used
were StatUtils.variance(data) and Math.sqrt(StatUtils.variance(data)) instead
of StatUtils.mean(data) in the MeanEvaluator.java.
> Add variance and standard deviation stream evaluators
> -----------------------------------------------------
>
> Key: SOLR-13391
> URL: https://issues.apache.org/jira/browse/SOLR-13391
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: streaming expressions
> Reporter: Nazerke Seidan
> Priority: Minor
> Labels: pull-request-available
>
> It seems variance and standard deviation stream evaluators are not supported
> by any of the solr version. For example,
> let(echo="m,v,sd", arr=array(1,3,3), m=mean(a), v=var(a),
> sd=stddev(a))
> So far, only the mean function is implemented. I think it is useful to have
> var and sttdev functions separately as a stream evaluator.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]