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

Sean Owen commented on MAHOUT-1040:
-----------------------------------

No, they are used by Mahout! Did you look at the classes I pointed you to?

The point of separating out standard deviation into a subclass is that you need 
three additional doubles to efficiently update and retrieve it. That's 24 
bytes. There are places where a running average is needed, tens of millions of 
of them, without standard deviation. The price of combining them into a common 
class is 100MB of heap; it's not a good thing.

Trust me -- this is all by design.
                
> Simplify RunningAverage suite
> -----------------------------
>
>                 Key: MAHOUT-1040
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1040
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Lance Norskog
>            Priority: Minor
>
> The RunningAverage suite of classes is not used in the Mahout source base, 
> except for FullRunningAverage.
> Would it be acceptable to the Mahout user base to collapse this feature into 
> one class?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to