Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFA2D10675 for ; Tue, 6 Aug 2013 21:14:08 +0000 (UTC) Received: (qmail 34901 invoked by uid 500); 6 Aug 2013 21:14:08 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 34799 invoked by uid 500); 6 Aug 2013 21:14:08 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 34791 invoked by uid 99); 6 Aug 2013 21:14:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 21:14:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phil.steitz@gmail.com designates 209.85.192.177 as permitted sender) Received: from [209.85.192.177] (HELO mail-pd0-f177.google.com) (209.85.192.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 21:14:00 +0000 Received: by mail-pd0-f177.google.com with SMTP id u10so663489pdi.36 for ; Tue, 06 Aug 2013 14:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=X/rlX9crjoX3W/FwXfmROySydnk+sspJkO8PlKYlLI8=; b=SeBsC0lkozyjvymtzo6WM9QYaa5SNHO9crpRAPs2+fJfz5hJJF9CqakagfocFUg8aP NTKO14GkGDrLvJ056GKZpLAuhSq6TPt7tmP9GOZAwH8GftdYXOnqPCC5h2eM7ABn5Tgi TOS6ht80jd0rIfZkMx0u/hi7JZviYWSioyFTun5I4+aC20W9i8QIeZLMGq/h3dMU3n/S n8pq1tA7bweLSc2dVy53rj4qIqLwHcScymErejW03SJZZf7UHXeYIDH+O+z9GE+p+MBY HYMfTy1ynXKQO+MlkHZyMB/wqfcdff9Y4HJI4oUCoXc1aW8LDME7exRPOnpHDSC0SD2v 0puQ== X-Received: by 10.68.240.72 with SMTP id vy8mr7831pbc.161.1375823619428; Tue, 06 Aug 2013 14:13:39 -0700 (PDT) Received: from [10.28.70.35] (206-169-155-249.static.twtelecom.net. [206.169.155.249]) by mx.google.com with ESMTPSA id kd1sm6041696pab.20.2013.08.06.14.13.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 14:13:38 -0700 (PDT) Message-ID: <52016701.2020107@gmail.com> Date: Tue, 06 Aug 2013 14:13:37 -0700 From: Phil Steitz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Commons Developers List Subject: Re: inverseCumAccuracy is probably not necessary References: <51FE8464.8000800@gmail.com> <52014E19.50202@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 8/6/13 1:52 PM, Ajo Fod wrote: > My question is if it is like one of those buttons on a calculator that no > one has really ever used. It is used. I have used it myself. We need to retain it. For convenience, we can add a constructor that omits it, but allows the RandomGenerator to be provided. Phil > > I've used the random number generator to get repetable paths, and the > parameters, but never the inverseCum. So, how many people need the > parameter at all? > > Cheers, > -Ajo > > > On Tue, Aug 6, 2013 at 1:23 PM, Paul Benedict wrote: > >> I wonder how many were waiting in silence to see if someone else would >> speak up for a rename. >> >> >> On Tue, Aug 6, 2013 at 3:16 PM, Matt Benson wrote: >> >>> Actually I think by "function name" he was referring to the unfortunate >>> English-language sexual innuendo incurred by the abbreviation of the word >>> "cumulative" in the method name. >>> >>> Matt >>> >>> >>> On Tue, Aug 6, 2013 at 2:27 PM, Phil Steitz >> wrote: >>>> On 8/6/13 10:00 AM, Konstantin Berlin wrote: >>>>> Terrible function name also :) >>>> Can you suggest a better name for this parameter? It is meant to >>>> indicate the proscribed accuracy of the inverse cumulative >>>> probability. By "function name" I assume you are talking about the >>>> name of the constructor parameter / configuration option. >>>> >>>> Phil >>>>> >>>>> On Tue, Aug 6, 2013 at 10:28 AM, Ajo Fod wrote: >>>>> >>>>>> When does this become an issue? >>>>>> >>>>>> -Ajo >>>>>> >>>>>> >>>>>> On Sun, Aug 4, 2013 at 9:42 AM, Phil Steitz >>>> wrote: >>>>>>> On 8/4/13 7:44 AM, Ajo Fod wrote: >>>>>>>> Guys, >>>>>>>> >>>>>>>> What is the use of inverseCumAccuracy when people want to >>> instantiate >>>>>> an >>>>>>>> AbstractRealDistribution with a random generator? >>>>>>>> org.apache.commons.math3.distribution.AbstractRealDistribution< >> http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/distribution/AbstractRealDistribution.html >>>>>>>> I personally only seem to need to instantiate these objects with a >>>>>>>> RandomGenerator but never with the inverseCumAccuracy set to >>> anything >>>>>> but >>>>>>>> DEFAULT_INVERSE_ABSOLUTE_ACCURACY. >>>>>>>> >>>>>>>> Could we be better of with inverseCumAccuracy moved to another >>>>>>> constructor? >>>>>>> >>>>>>> Good point. We should take a careful look at which implementations >>>>>>> actually use this parameter and remove it from constructors for >>>>>>> those that don't. I think some used to use it, but do not any >>>>>>> longer - in particular the ones that no longer rely on the default >>>>>>> inverse cum provided by AbstractRealDistribution. The default impl >>>>>>> uses a solver to directly invert the cdf and that is what this >>>>>>> parameter is used for. For the ones that do use it, it would also >>>>>>> be convenient to provide constructors that include distribution >>>>>>> parameters + random generator without this parameter. >>>>>>> >>>>>>> Phil >>>>>>>> Thanks, >>>>>>>> Ajo. >>>>>>>> >>>>>>> >> --------------------------------------------------------------------- >>>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>>>>>> For additional commands, e-mail: dev-help@commons.apache.org >>>>>>> >>>>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>>> For additional commands, e-mail: dev-help@commons.apache.org >>>> >>>> >> >> >> -- >> Cheers, >> Paul >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org