Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95F7C11794 for ; Fri, 1 Aug 2014 18:43:39 +0000 (UTC) Received: (qmail 29201 invoked by uid 500); 1 Aug 2014 18:43:39 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 29111 invoked by uid 500); 1 Aug 2014 18:43:39 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 29097 invoked by uid 99); 1 Aug 2014 18:43:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2014 18:43:39 +0000 Date: Fri, 1 Aug 2014 18:43:39 +0000 (UTC) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MATH-1131) Kolmogorov-Smirnov Tests takes 'forever' on 10,000 item dataset MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-1131?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14082= 719#comment-14082719 ]=20 Phil Steitz commented on MATH-1131: ----------------------------------- @Schaik: have you tested with the latest code in trunk? I would not expec= t the current code to degrade for large n, unless "exact" is specified and = that already has a warning label. > Kolmogorov-Smirnov Tests takes 'forever' on 10,000 item dataset > --------------------------------------------------------------- > > Key: MATH-1131 > URL: https://issues.apache.org/jira/browse/MATH-1131 > Project: Commons Math > Issue Type: Bug > Affects Versions: 3.3 > Environment: Java 8 > Reporter: Schalk W. Cronj=C3=A9 > Attachments: 1.txt, MATH-1131.patch, ReproduceKsIssue.groovy, Rep= roduceKsIssue.java > > > I have code simplified to the following: > KolmogorovSmirnovTest kst =3D new KolmogorovSmirnovTest(); > NormalDistribution nd =3D new NormalDistribution(mean,stddev); > kst.kolmogorovSmirnovTest(nd,dataset) > I find that for my dataset of 10,000 items, the call to kolmogorovSmirnov= Test takes 'forever'. It has not returned after nearly 15minutes and in one= my my tests has gone over 150MB in memory usage.=20 -- This message was sent by Atlassian JIRA (v6.2#6252)