D22640: Unit Testing for Pearson Correlation Coefficient

Stefan Gerlach noreply at phabricator.kde.org
Mon Jul 22 17:22:29 BST 2019


sgerlach added inline comments.

INLINE COMMENTS

> devanshuagarwal wrote in CorrelationCoefficientTest.cpp:106
> Yes, I have decreased it to 1%. Is it ok?

The relative error should be as small as possible. Normally you should only have numerical errors. In your case the expected value has a limited number of digits which leads to a deviation from the calculated value. Try to reduce the error as much as possible.

REPOSITORY
  R262 LabPlot

REVISION DETAIL
  https://phabricator.kde.org/D22640

To: devanshuagarwal, sgerlach
Cc: kde-edu, #labplot, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190722/c4449133/attachment-0001.html>


More information about the kde-edu mailing list