aherbert commented on issue #4: A small Mode function
URL: https://github.com/apache/commons-statistics/pull/4#issuecomment-488640684
 
 
   Hi @UditArora2000,
   
   Thanks for the PR. Note that since the `mode == median` it is a waste to 
store both. You could have the `getMode()` method return `getMedian()`. Or just 
update the javadoc for the `getMedian()` method to state that the mode equals 
the median for this distribution.
   
   If you post to the developers mailing list or open a JIRA ticket you will 
receive some feedback from developers on the best approach here.
   
   Regards,
   Alex
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to