[math] StorelessCovariance

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[math] StorelessCovariance

Patrick Meyer-4
I am workin on the StorelessCovariance per jira MATH-449. However, I'm
having a hard time using subversion via Netbeans. I have successfully
created the new classes and a JUnit test. However, when I run the test I
get the following message,

"caused an ERORR: Absent Code attribute in method that is not native or
abstract in class file org/apache/commons/math/TestUtils"

Any help would be appreciated. I have a lot to contribute to commons
math but my lack of experience with subversion is really hindering me.

Thanks,
Patrick



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [math] StorelessCovariance

Patrick Meyer
OK, after fidgeting with NetBeans for too long without results, I went
with Phil's suggestion and just used subversion at the command prompt.
It was much easier than trying to configure NetBeans.

I uploaded the patch this evening. It includes two new classes
StorelessCovariance.java and StorelessCovarianceMatrix.java. I also
included a new test class StorelessCovarianceTest.java.

Interestingly, the one-pass algorithm is slightly less accurate than the
two-pass algorithm. I had to reduce the tolerance from 10E-9 to 10E-7 in
order for tests to pass with the Longley data. The tolerance was not
changed for the Swiss data. It remained 10E-13 for the Swiss data.

The one-pass algorithm is described in a paper by Pebay (2008)
http://prod.sandia.gov/techlib/access-control.cgi/2008/086212.pdf

Thanks for everyone's help.

Patrick



On 8/17/2011 12:13 PM, Patrick wrote:

> I am workin on the StorelessCovariance per jira MATH-449. However, I'm
> having a hard time using subversion via Netbeans. I have successfully
> created the new classes and a JUnit test. However, when I run the test
> I get the following message,
>
> "caused an ERORR: Absent Code attribute in method that is not native
> or abstract in class file org/apache/commons/math/TestUtils"
>
> Any help would be appreciated. I have a lot to contribute to commons
> math but my lack of experience with subversion is really hindering me.
>
> Thanks,
> Patrick
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [math] StorelessCovariance

Ted Dunning
NetBeans is kind of wasting away for lack of attention.

IntelliJ generally gets these things exactly correct.  SVN, git and mvn are
all mother tongues for it.  There is an excellent community edition and
Apache committers can get a full version.

On Wed, Aug 17, 2011 at 8:09 PM, Patrick Meyer <[hidden email]> wrote:

> OK, after fidgeting with NetBeans for too long without results, I went with
> Phil's suggestion and just used subversion at the command prompt. It was
> much easier than trying to configure NetBeans.
>
> I uploaded the patch this evening. It includes two new classes
> StorelessCovariance.java and StorelessCovarianceMatrix.**java. I also
> included a new test class StorelessCovarianceTest.java.
>
> Interestingly, the one-pass algorithm is slightly less accurate than the
> two-pass algorithm. I had to reduce the tolerance from 10E-9 to 10E-7 in
> order for tests to pass with the Longley data. The tolerance was not changed
> for the Swiss data. It remained 10E-13 for the Swiss data.
>
> The one-pass algorithm is described in a paper by Pebay (2008)
> http://prod.sandia.gov/**techlib/access-control.cgi/**2008/086212.pdf<http://prod.sandia.gov/techlib/access-control.cgi/2008/086212.pdf>
>
> Thanks for everyone's help.
>
> Patrick
>
>
>
> On 8/17/2011 12:13 PM, Patrick wrote:
>
>> I am workin on the StorelessCovariance per jira MATH-449. However, I'm
>> having a hard time using subversion via Netbeans. I have successfully
>> created the new classes and a JUnit test. However, when I run the test I get
>> the following message,
>>
>> "caused an ERORR: Absent Code attribute in method that is not native or
>> abstract in class file org/apache/commons/math/**TestUtils"
>>
>> Any help would be appreciated. I have a lot to contribute to commons math
>> but my lack of experience with subversion is really hindering me.
>>
>> Thanks,
>> Patrick
>>
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.**apache.org<[hidden email]>
>> For additional commands, e-mail: [hidden email]
>>
>>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: dev-unsubscribe@commons.**apache.org<[hidden email]>
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [math] StorelessCovariance

Patrick Meyer
Thanks for the tip. I was not aware of IntelliJ but I'll certainly look
into it.

On 8/18/2011 1:27 AM, Ted Dunning wrote:

> NetBeans is kind of wasting away for lack of attention.
>
> IntelliJ generally gets these things exactly correct.  SVN, git and mvn are
> all mother tongues for it.  There is an excellent community edition and
> Apache committers can get a full version.
>
> On Wed, Aug 17, 2011 at 8:09 PM, Patrick Meyer<[hidden email]>  wrote:
>
>> OK, after fidgeting with NetBeans for too long without results, I went with
>> Phil's suggestion and just used subversion at the command prompt. It was
>> much easier than trying to configure NetBeans.
>>
>> I uploaded the patch this evening. It includes two new classes
>> StorelessCovariance.java and StorelessCovarianceMatrix.**java. I also
>> included a new test class StorelessCovarianceTest.java.
>>
>> Interestingly, the one-pass algorithm is slightly less accurate than the
>> two-pass algorithm. I had to reduce the tolerance from 10E-9 to 10E-7 in
>> order for tests to pass with the Longley data. The tolerance was not changed
>> for the Swiss data. It remained 10E-13 for the Swiss data.
>>
>> The one-pass algorithm is described in a paper by Pebay (2008)
>> http://prod.sandia.gov/**techlib/access-control.cgi/**2008/086212.pdf<http://prod.sandia.gov/techlib/access-control.cgi/2008/086212.pdf>
>>
>> Thanks for everyone's help.
>>
>> Patrick
>>
>>
>>
>> On 8/17/2011 12:13 PM, Patrick wrote:
>>
>>> I am workin on the StorelessCovariance per jira MATH-449. However, I'm
>>> having a hard time using subversion via Netbeans. I have successfully
>>> created the new classes and a JUnit test. However, when I run the test I get
>>> the following message,
>>>
>>> "caused an ERORR: Absent Code attribute in method that is not native or
>>> abstract in class file org/apache/commons/math/**TestUtils"
>>>
>>> Any help would be appreciated. I have a lot to contribute to commons math
>>> but my lack of experience with subversion is really hindering me.
>>>
>>> Thanks,
>>> Patrick
>>>
>>>
>>>
>>> ------------------------------**------------------------------**---------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.**apache.org<[hidden email]>
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.**apache.org<[hidden email]>
>> For additional commands, e-mail: [hidden email]
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]