commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject Re: [Math] MATH-894
Date Thu, 15 Nov 2012 13:40:54 GMT
Hi.

> 
> These changes look fine to me and the addition of the compute method is
> really nice.

Oh, I should have asked whether you can also look at the source code in the
trunk: Currently the "compute(UnivariateStatistic)" method is only
implemented internally (in a private inner class of "DescriptiveStatistics").
If you want this feature to be in the public API, could you create a new issue
on JIRA? [Then we can see in which package this class should go.]

> Looking more closely at my code, I am using the getElements
> method. As long as that remains available, it make sense to deprecate the
> getInternalValues method.
> 
> My use of ResizeableDoubleArray is related to an earlier discussion -
> missing values. My data are stored in a database and it may contain missing
> values. I know how many cases are in the database, but I don't know the
> amount of missing data. I read the non-missing database values into a
> ResizeableDoubleArray, call getElements() and use the nonmissing data array
> in my calculations. It may be a bit clunky, but it's one of the ways I
> handle missing data without looping over the database twice. I don't have a
> solution for comprehensive treatment of missing data yet, but I appreciate
> the conversation we are having.

I'm afraid I don't follow you; I don't see the connection between missing
values and the resizeable array. Maybe a small code example would help me.


Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message