Re: [math] Re: running average of a rate

2011-03-14 Thread Ted Dunning
This approach is fine for relatively well-behaved distributions. Anything more skewed than, say, an exponential or as long tailed as a t(3) distribution is likely to have troubles with this approach. See http://search-lucene.com/jd/mahout/math/org/apache/mahout/math/stats/OnlineSummarizer.htmlfor

Re: [math] Re: running average of a rate

2011-03-14 Thread sebb
On 14 March 2011 20:42, Phil Steitz wrote: > On 3/14/11 12:34 PM, Luc Maisonobe wrote: >> Le 14/03/2011 15:33, Benson Margulies a écrit : >>> Please excuse the following ignorant question. >>> >>> I want to maintain summary statistics of a rate. At each 'event', I >>> know the number of characters

Re: [math] Re: running average of a rate

2011-03-14 Thread Ted Dunning
Phil, A big part of the problem as I understand it is that these rates are needed across a potentially quite large distributed system. On Mon, Mar 14, 2011 at 1:42 PM, Phil Steitz wrote: > On 3/14/11 12:34 PM, Luc Maisonobe wrote: > > Le 14/03/2011 15:33, Benson Margulies a écrit : > >> Please

Re: [math] Re: running average of a rate

2011-03-14 Thread Phil Steitz
On 3/14/11 12:34 PM, Luc Maisonobe wrote: > Le 14/03/2011 15:33, Benson Margulies a écrit : >> Please excuse the following ignorant question. >> >> I want to maintain summary statistics of a rate. At each 'event', I >> know the number of characters and the time it took to process them, >> and I wan

RE: [VFS] Retrieving directories with files using HTTPS

2011-03-14 Thread Frank van der Kleij
As far as I know you can't list files using the http or https filesystem implementation, just copy single files for which you know the URL. It would be a nice extension I agree... Frank > From: rkooij...@inergy.nl > To: user@commons.apache.org > Date: Mon, 14 Mar 2011 17:21:21 +0100 > Subject: [

Re: [math] Re: running average of a rate

2011-03-14 Thread Ted Dunning
On Mon, Mar 14, 2011 at 12:34 PM, Luc Maisonobe wrote: > Le 14/03/2011 15:33, Benson Margulies a écrit : > > Please excuse the following ignorant question. > > > > I want to maintain summary statistics of a rate. At each 'event', I > > know the number of characters and the time it took to process

[math] Re: running average of a rate

2011-03-14 Thread Luc Maisonobe
Le 14/03/2011 15:33, Benson Margulies a écrit : > Please excuse the following ignorant question. > > I want to maintain summary statistics of a rate. At each 'event', I > know the number of characters and the time it took to process them, > and I want to maintain summary statistics for the rate of

[VFS] Retrieving directories with files using HTTPS

2011-03-14 Thread Richard Kooijman
Hi, I want to copy files through https. The source URL has listing of directories enabled. I made some test code to copy files. Ultimately, I want to do this: FileSystemManager fsManager = VFS.getManager(); FileObject fileObject = fsManager.resolveFile( "https://localho

Re: running average of a rate

2011-03-14 Thread Ted Dunning
For the overall average you need is the total time and total characters. Do the division at presentation time. If you want a decaying moving average, then a variant on Welford's method is useful for an on-line estimate. I just had such a discussion in the hbase group. For that you need state, h

running average of a rate

2011-03-14 Thread Benson Margulies
Please excuse the following ignorant question. I want to maintain summary statistics of a rate. At each 'event', I know the number of characters and the time it took to process them, and I want to maintain summary statistics for the rate of chars/second. I imagine that I'm missing something basic,

[vfs]

2011-03-14 Thread Luciano Conceição
Hello, I am using the VFS to monitoring one folder, when I receipt one file , but when I receive one file in a sub-folder the process don´t should execute. How can I use VFS to monitoring only in the root directory? Atenciosamente, __ Luciano Conceiç