[jira] [Updated] (MATH-1307) Create a base class for all RNGs

2015-12-30 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1307: - Attachment: BaseRandomGeneratorFloatGenerationPerformanceTest.java I have played around with the

[jira] [Commented] (MATH-1296) DescriptiveStatistics return geometric mean as 0 when product of values is zero, expected to return NaN

2015-12-02 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15036575#comment-15036575 ] Otmar Ertl commented on MATH-1296: -- Gilles, I agree, it is the documentation that needs to be fixed.

[jira] [Resolved] (MATH-1254) Unit test CorrelatedRandomVectorGeneratorTest is flaky

2015-11-24 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-1254. -- Resolution: Fixed Fix Version/s: 3.6 4.0 4.0:

[jira] [Commented] (MATH-1253) Skewness could get more precision from slightly reordered code.

2015-11-24 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15025190#comment-15025190 ] Otmar Ertl commented on MATH-1253: -- Provided that there is no overflow, I do not think that my proposal is

[jira] [Commented] (MATH-1285) Description API ZipfDistribution

2015-11-10 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14999300#comment-14999300 ] Otmar Ertl commented on MATH-1285: -- Added definition of distribution to javadoc. 3.6:

[jira] [Resolved] (MATH-1269) FastMath.exp may return NaN for non-NaN arguments

2015-11-05 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-1269. -- Resolution: Fixed Fix Version/s: 3.6 4.0 > FastMath.exp may return NaN for

[jira] [Commented] (MATH-1269) FastMath.exp may return NaN for non-NaN arguments

2015-11-05 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14992406#comment-14992406 ] Otmar Ertl commented on MATH-1269: -- fixed 3.6: 8aecb842d32464a98eaab722da84902f8126957b 4.0:

[jira] [Commented] (MATH-1285) Description API ZipfDistribution

2015-10-27 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14977040#comment-14977040 ] Otmar Ertl commented on MATH-1285: -- Thanks for reporting this. I have changed the reference to Wikipedia's

[jira] [Resolved] (MATH-1285) Description API ZipfDistribution

2015-10-27 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-1285. -- Resolution: Fixed Fix Version/s: 3.6 4.0 > Description API ZipfDistribution >

[jira] [Reopened] (MATH-1285) Description API ZipfDistribution

2015-10-27 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl reopened MATH-1285: -- Reopened issue because javadoc needs to be further improved. > Description API ZipfDistribution >

[jira] [Updated] (MATH-1269) FastMath.exp may return NaN for non-NaN arguments

2015-10-23 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1269: - Attachment: MATH-1269-fix-tempC-infinity.patch One more proposal. The problem is the calculation of

[jira] [Resolved] (MATH-1277) Incorrect Kendall Tau calc due to data type mistmatch

2015-09-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-1277. -- Resolution: Fixed Fix Version/s: 3.6 4.0 > Incorrect Kendall Tau calc due to

[jira] [Commented] (MATH-1277) Incorrect Kendall Tau calc due to data type mistmatch

2015-09-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14877457#comment-14877457 ] Otmar Ertl commented on MATH-1277: -- Thanks for reporting! Fixed bug in following commits: *

[jira] [Resolved] (MATH-1276) Override GeometricDistribution.inverseCumulativeProbability() to speed up sampling

2015-09-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-1276. -- Resolution: Fixed Fix Version/s: 3.6 4.0 > Override

[jira] [Commented] (MATH-1276) Override GeometricDistribution.inverseCumulativeProbability() to speed up sampling

2015-09-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14900035#comment-14900035 ] Otmar Ertl commented on MATH-1276: -- Gilles, thank you for your suggestions. I have split the patch into

[jira] [Updated] (MATH-1276) Override GeometricDistribution.inverseCumulativeProbability() to speed up sampling

2015-09-17 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1276: - Flags: Patch > Override GeometricDistribution.inverseCumulativeProbability() to speed up > sampling >

[jira] [Created] (MATH-1276) Override GeometricDistribution.inverseCumulativeProbability() to speed up sampling

2015-09-17 Thread Otmar Ertl (JIRA)
Otmar Ertl created MATH-1276: Summary: Override GeometricDistribution.inverseCumulativeProbability() to speed up sampling Key: MATH-1276 URL: https://issues.apache.org/jira/browse/MATH-1276 Project:

[jira] [Updated] (MATH-1276) Override GeometricDistribution.inverseCumulativeProbability() to speed up sampling

2015-09-17 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1276: - Attachment: MATH-1276.patch Any objections to the proposed patch? > Override

[jira] [Commented] (MATH-1246) Kolmogorov-Smirnov 2-sample test does not correctly handle ties

2015-09-16 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14790993#comment-14790993 ] Otmar Ertl commented on MATH-1246: -- Sounds ok to me, due to its slow convergence avoiding Monte Carlo as

[jira] [Resolved] (MATH-1274) Represent Kolmogorov-Smirnov statistic as long value

2015-09-16 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-1274. -- Resolution: Fixed > Represent Kolmogorov-Smirnov statistic as long value >

[jira] [Commented] (MATH-1274) Represent Kolmogorov-Smirnov statistic as long value

2015-09-16 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14790896#comment-14790896 ] Otmar Ertl commented on MATH-1274: -- Applied the patch after renaming the methods to integralXxx as

[jira] [Updated] (MATH-1274) Represent Kolmogorov-Smirnov statistic as long value

2015-09-16 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1274: - Fix Version/s: 3.6 4.0 > Represent Kolmogorov-Smirnov statistic as long value >

[jira] [Commented] (MATH-1246) Kolmogorov-Smirnov 2-sample test does not correctly handle ties

2015-09-15 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14746924#comment-14746924 ] Otmar Ertl commented on MATH-1246: -- The p-value is the probability that the observed KS-statistic is

[jira] [Updated] (MATH-1274) Represent Kolmogorov-Smirnov statistic as long value

2015-09-15 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1274: - Attachment: MATH-1274.patch > Represent Kolmogorov-Smirnov statistic as long value >

[jira] [Updated] (MATH-1274) Represent Kolmogorov-Smirnov statistic as long value

2015-09-15 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1274: - Flags: Patch > Represent Kolmogorov-Smirnov statistic as long value >

[jira] [Created] (MATH-1274) Represent Kolmogorov-Smirnov statistic as long value

2015-09-15 Thread Otmar Ertl (JIRA)
Otmar Ertl created MATH-1274: Summary: Represent Kolmogorov-Smirnov statistic as long value Key: MATH-1274 URL: https://issues.apache.org/jira/browse/MATH-1274 Project: Commons Math Issue Type:

[jira] [Commented] (MATH-1246) Kolmogorov-Smirnov 2-sample test does not correctly handle ties

2015-09-15 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14745495#comment-14745495 ] Otmar Ertl commented on MATH-1246: -- After some research I have the feeling we are discussing how to define

[jira] [Comment Edited] (MATH-1246) Kolmogorov-Smirnov 2-sample test does not correctly handle ties

2015-09-15 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14745495#comment-14745495 ] Otmar Ertl edited comment on MATH-1246 at 9/15/15 2:00 PM: --- After some research I

[jira] [Commented] (MATH-1246) Kolmogorov-Smirnov 2-sample test does not correctly handle ties

2015-09-14 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14744096#comment-14744096 ] Otmar Ertl commented on MATH-1246: -- I still have doubts: # There is a difference, if there are ties within

[jira] [Commented] (MATH-1269) FastMath.exp may return NaN for non-NaN arguments

2015-09-10 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14739384#comment-14739384 ] Otmar Ertl commented on MATH-1269: -- +1 for 2nd patch, I have run the test over the range (MAX_LONG -

[jira] [Commented] (MATH-1246) Kolmogorov-Smirnov 2-sample test does not correctly handle ties

2015-09-10 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14739536#comment-14739536 ] Otmar Ertl commented on MATH-1246: -- The Monte Carlo approach can be modified by simultaneously sampling D.

[jira] [Commented] (MATH-1269) FastMath.exp may return NaN for non-NaN arguments

2015-09-09 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14737181#comment-14737181 ] Otmar Ertl commented on MATH-1269: -- I have an objection. The patch changes the result of

[jira] [Commented] (MATH-1246) Kolmogorov-Smirnov 2-sample test does not correctly handle ties

2015-09-09 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14737500#comment-14737500 ] Otmar Ertl commented on MATH-1246: -- I am thinking of another way to treat ties: The probability that two

[jira] [Commented] (MATH-1269) FastMath.exp may return NaN for non-NaN arguments

2015-09-09 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14737436#comment-14737436 ] Otmar Ertl commented on MATH-1269: -- In my opinion simply changing NaNs to infinity can only be a

[jira] [Comment Edited] (MATH-1246) Kolmogorov-Smirnov 2-sample test does not correctly handle ties

2015-09-09 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14737500#comment-14737500 ] Otmar Ertl edited comment on MATH-1246 at 9/9/15 9:19 PM: -- I am thinking of

[jira] [Commented] (MATH-1262) Heap overflow in org.apache.commons.math4.special.BesselJ

2015-09-08 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14734949#comment-14734949 ] Otmar Ertl commented on MATH-1262: -- +1 for updating Javadoc and adding a note that memory needs are

[jira] [Comment Edited] (MATH-1262) Heap overflow in org.apache.commons.math4.special.BesselJ

2015-09-06 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14721676#comment-14721676 ] Otmar Ertl edited comment on MATH-1262 at 9/6/15 8:46 AM: -- -This

[jira] [Commented] (MATH-1262) Heap overflow in org.apache.commons.math4.special.BesselJ

2015-09-06 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14732386#comment-14732386 ] Otmar Ertl commented on MATH-1262: -- The paper [C.Schwartz, Numerical Calculation of Bessel Functions,

[jira] [Created] (MATH-1269) FastMath.exp may return NaN

2015-09-06 Thread Otmar Ertl (JIRA)
Otmar Ertl created MATH-1269: Summary: FastMath.exp may return NaN Key: MATH-1269 URL: https://issues.apache.org/jira/browse/MATH-1269 Project: Commons Math Issue Type: Bug Affects Versions:

[jira] [Updated] (MATH-1269) FastMath.exp may return NaN for non-NaN arguments

2015-09-06 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1269: - Summary: FastMath.exp may return NaN for non-NaN arguments (was: FastMath.exp may return NaN) >

[jira] [Updated] (MATH-1269) FastMath.exp may return NaN

2015-09-06 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1269: - Description: I have observed that FastMath.exp(709.8125) returns NaN. However, the exponential function

[jira] [Commented] (MATH-1262) Heap overflow in org.apache.commons.math4.special.BesselJ

2015-08-30 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14721676#comment-14721676 ] Otmar Ertl commented on MATH-1262: -- This

[jira] [Commented] (MATH-1262) Heap overflow in org.apache.commons.math4.special.BesselJ

2015-08-25 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14711484#comment-14711484 ] Otmar Ertl commented on MATH-1262: -- The current implementation allocates a double array

[jira] [Resolved] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-08-24 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-1220. -- Resolution: Fixed More efficient sample() method for ZipfDistribution

[jira] [Commented] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-08-24 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14709928#comment-14709928 ] Otmar Ertl commented on MATH-1220: -- Introduced rejection-inversion sampling approach with

[jira] [Commented] (MATH-990) Improve performance of MathArrays.sortInPlace

2015-08-22 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707967#comment-14707967 ] Otmar Ertl commented on MATH-990: - Applied patch in following commits: *

[jira] [Updated] (MATH-990) Improve performance of MathArrays.sortInPlace

2015-08-22 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-990: Fix Version/s: 3.6 Improve performance of MathArrays.sortInPlace

[jira] [Resolved] (MATH-990) Improve performance of MathArrays.sortInPlace

2015-08-22 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-990. - Resolution: Fixed Improve performance of MathArrays.sortInPlace

[jira] [Commented] (MATH-990) Improve performance of MathArrays.sortInPlace

2015-08-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14705515#comment-14705515 ] Otmar Ertl commented on MATH-990: - I think I do not have the rights to reassign this issue.

[jira] [Commented] (MATH-1258) compute() method in classes in org.apache.commons.math4.ml.distance package

2015-08-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14705509#comment-14705509 ] Otmar Ertl commented on MATH-1258: -- I have just added the missing entries to changes.xml.

[jira] [Resolved] (MATH-1258) compute() method in classes in org.apache.commons.math4.ml.distance package

2015-08-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-1258. -- Resolution: Fixed Fix Version/s: 3.6 4.0 compute() method in classes in

[jira] [Commented] (MATH-1258) compute() method in classes in org.apache.commons.math4.ml.distance package

2015-08-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14705674#comment-14705674 ] Otmar Ertl commented on MATH-1258: -- Thanks! It worked now. compute() method in classes

[jira] [Commented] (MATH-1258) compute() method in classes in org.apache.commons.math4.ml.distance package

2015-08-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14705180#comment-14705180 ] Otmar Ertl commented on MATH-1258: -- Committed my patch:

[jira] [Commented] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-08-20 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14705207#comment-14705207 ] Otmar Ertl commented on MATH-1220: -- If there are not any concerns, I will commit

[jira] [Updated] (MATH-1258) compute() method in classes in org.apache.commons.math4.ml.distance package

2015-08-19 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1258: - Attachment: patch.diff I also do not like throwing an ArrayIndexOutOfBoundsException due to 2 reasons: *

[jira] [Commented] (MATH-1257) NormalDistribution.cumulativeProbability() suffers from cancellation

2015-08-19 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14703489#comment-14703489 ] Otmar Ertl commented on MATH-1257: -- +1 for the patch, it eliminates one source of error.

[jira] [Updated] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-08-09 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1220: - Attachment: patch_v3 I have revised the patch that makes use of rejection-inversion sampling. I have

[jira] [Updated] (MATH-1254) Unit test CorrelatedRandomVectorGeneratorTest is flaky

2015-08-09 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1254: - Attachment: seed628.patch Unit test CorrelatedRandomVectorGeneratorTest is flaky

[jira] [Created] (MATH-1254) Unit test CorrelatedRandomVectorGeneratorTest is flaky

2015-08-09 Thread Otmar Ertl (JIRA)
Otmar Ertl created MATH-1254: Summary: Unit test CorrelatedRandomVectorGeneratorTest is flaky Key: MATH-1254 URL: https://issues.apache.org/jira/browse/MATH-1254 Project: Commons Math Issue

[jira] [Commented] (MATH-1253) Skewness could get more precision from slightly reordered code.

2015-08-08 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14662994#comment-14662994 ] Otmar Ertl commented on MATH-1253: -- The given example is problematic anyway, because the

[jira] [Commented] (MATH-1242) Speed up KolmogorovSmirnovTest.monteCarloP()

2015-07-17 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14631814#comment-14631814 ] Otmar Ertl commented on MATH-1242: -- Fixed shuffle algorithm and added unit test in the

[jira] [Resolved] (MATH-1242) Speed up KolmogorovSmirnovTest.monteCarloP()

2015-07-17 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl resolved MATH-1242. -- Resolution: Fixed Speed up KolmogorovSmirnovTest.monteCarloP()

[jira] [Updated] (MATH-1242) Speed up KolmogorovSmirnovTest.monteCarloP()

2015-07-15 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1242: - Attachment: bug_fix_and_unit_test.patch Here is an update of the fix. I have moved the shuffle algorithm

[jira] [Updated] (MATH-1242) Speed up KolmogorovSmirnovTest.monteCarloP()

2015-07-11 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1242: - Attachment: patch There is a bug in the simplified Fisher-Yates shuffle algorithm. The random number r

[jira] [Commented] (MATH-1242) Speed up KolmogorovSmirnovTest.monteCarloP()

2015-06-26 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14602970#comment-14602970 ] Otmar Ertl commented on MATH-1242: -- Your modifications look fine. Thanks! Speed up

[jira] [Updated] (MATH-1242) Speed up KolmogorovSmirnovTest.monteCarloP()

2015-06-25 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1242: - Attachment: patch Speed up KolmogorovSmirnovTest.monteCarloP()

[jira] [Created] (MATH-1242) Speed up KolmogorovSmirnovTest.monteCarloP()

2015-06-25 Thread Otmar Ertl (JIRA)
Otmar Ertl created MATH-1242: Summary: Speed up KolmogorovSmirnovTest.monteCarloP() Key: MATH-1242 URL: https://issues.apache.org/jira/browse/MATH-1242 Project: Commons Math Issue Type:

[jira] [Updated] (MATH-1236) Improve Kolmogorov-Smirnov statistic for two samples

2015-06-19 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1236: - Attachment: patch Improve Kolmogorov-Smirnov statistic for two samples

[jira] [Created] (MATH-1236) Improve Kolmogorov-Smirnov statistic for two samples

2015-06-19 Thread Otmar Ertl (JIRA)
Otmar Ertl created MATH-1236: Summary: Improve Kolmogorov-Smirnov statistic for two samples Key: MATH-1236 URL: https://issues.apache.org/jira/browse/MATH-1236 Project: Commons Math Issue Type:

[jira] [Updated] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-05-23 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1220: - Attachment: Zipf Rejection Inversion Sampling Notes.pdf I attached my notes that should make it clearer

[jira] [Commented] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-05-03 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14526002#comment-14526002 ] Otmar Ertl commented on MATH-1220: -- Yes, my proposed method outperforms the rejection

[jira] [Updated] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-05-03 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1220: - Attachment: patch_v2 I have found some time to read the paper you mentioned: http://epub.wu.ac.at/1176/.

[jira] [Reopened] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-05-03 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl reopened MATH-1220: -- More efficient sample() method for ZipfDistribution ---

[jira] [Commented] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-04-30 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14521921#comment-14521921 ] Otmar Ertl commented on MATH-1220: -- Since we are sampling from a finite number of points,

[jira] [Commented] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-04-29 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14520123#comment-14520123 ] Otmar Ertl commented on MATH-1220: -- Caching generalizedHarmonic(numberOfElements,

[jira] [Comment Edited] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-04-27 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14514257#comment-14514257 ] Otmar Ertl edited comment on MATH-1220 at 4/27/15 3:10 PM: --- Do

[jira] [Commented] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-04-27 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14514257#comment-14514257 ] Otmar Ertl commented on MATH-1220: -- Do you mean using a pre-calculated CDF tanle and

[jira] [Commented] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-04-27 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14516401#comment-14516401 ] Otmar Ertl commented on MATH-1220: -- The avg. number of iterations until a random value is

[jira] [Created] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-04-26 Thread Otmar Ertl (JIRA)
Otmar Ertl created MATH-1220: Summary: More efficient sample() method for ZipfDistribution Key: MATH-1220 URL: https://issues.apache.org/jira/browse/MATH-1220 Project: Commons Math Issue Type:

[jira] [Updated] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-04-26 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1220: - Attachment: patch_v1 More efficient sample() method for ZipfDistribution

[jira] [Commented] (MATH-1220) More efficient sample() method for ZipfDistribution

2015-04-26 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14513221#comment-14513221 ] Otmar Ertl commented on MATH-1220: -- The patch overrides the sample() method for

[jira] [Updated] (MATH-990) Improve performance of MathArrays.sortInPlace

2014-11-21 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-990: Attachment: patch The performance can be further improved while still using Collections.sort by avoiding the

[jira] [Commented] (MATH-1159) Add quartiles to SummaryStatistics

2014-10-22 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14180422#comment-14180422 ] Otmar Ertl commented on MATH-1159: -- If multiple quantile values need to be computed

[jira] [Commented] (MATH-1158) Factory method to provide sampling from distributions

2014-10-22 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14180464#comment-14180464 ] Otmar Ertl commented on MATH-1158: -- I like your proposal. I think there is much more to

[jira] [Commented] (MATH-1154) Statistical tests in stat.inference package are very slow due to implicit RandomGenerator initialization

2014-10-08 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14163330#comment-14163330 ] Otmar Ertl commented on MATH-1154: -- I agree with Phil that my proposed patch does not

[jira] [Commented] (MATH-1124) Instances of AbstractRealDistribution require a random generator.

2014-10-07 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14162234#comment-14162234 ] Otmar Ertl commented on MATH-1124: -- What about the C++ STL design choice? The

[jira] [Comment Edited] (MATH-1124) Instances of AbstractRealDistribution require a random generator.

2014-10-07 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14162234#comment-14162234 ] Otmar Ertl edited comment on MATH-1124 at 10/7/14 6:25 PM: --- What

[jira] [Commented] (MATH-1124) Instances of AbstractRealDistribution require a random generator.

2014-10-07 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14162367#comment-14162367 ] Otmar Ertl commented on MATH-1124: -- @Ole Ersoy: For some distributions it is quite common

[jira] [Commented] (MATH-1124) Instances of AbstractRealDistribution require a random generator.

2014-10-07 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14163124#comment-14163124 ] Otmar Ertl commented on MATH-1124: -- It is fairly easy to write a RandomGenerator mock

[jira] [Created] (MATH-1154) Statistical tests in stat.inference package are very slow due to implicit RandomGenerator initialization

2014-10-05 Thread Otmar Ertl (JIRA)
Otmar Ertl created MATH-1154: Summary: Statistical tests in stat.inference package are very slow due to implicit RandomGenerator initialization Key: MATH-1154 URL: https://issues.apache.org/jira/browse/MATH-1154

[jira] [Updated] (MATH-1154) Statistical tests in stat.inference package are very slow due to implicit RandomGenerator initialization

2014-10-05 Thread Otmar Ertl (JIRA)
[ https://issues.apache.org/jira/browse/MATH-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otmar Ertl updated MATH-1154: - Attachment: math3.patch This patch demonstrates a fix using lazy initialization of default random number