Re: [Math] Mismatch: doc/release/release.howto.txt

2016-04-25 Thread Evan Ward
Done. On 04/25/2016 09:05 AM, Gilles wrote: > On Mon, 25 Apr 2016 08:54:53 -0400, Evan Ward wrote: >> 61c53a4 contains my updates after releasing 3.6.1 > > Could you please make sure that the most up-to-date procedure > is in the "develop" branch? > > Thanks, &

Re: [Math] Mismatch: doc/release/release.howto.txt

2016-04-25 Thread Evan Ward
61c53a4 contains my updates after releasing 3.6.1 Best Regards, Evan On 04/22/2016 08:30 PM, Gilles wrote: > Hi. > > Contents of > doc/release/release.howto.txt > is different in branches "develop" and "MATH_3_X". > > Which one is correct? > > Regards, > Gilles > > >

Re: [Math] RNG refactoring

2016-03-25 Thread Evan Ward
I'm not sure if this is the problem, but a good rule of thumb is that if you have pushed a commit you should merge it instead of rebasing it. It looks to me like 6ddf476 and ce8c82f are the same, so I think when you ran rebase it put it on top of the bug fix I pushed up recently, duplicating the

[Announce] [math] Apache Commons Math 3.6.1 Released

2016-03-23 Thread Evan Ward
The Apache Commons Team is pleased to announce the availability of: Apache Commons Math 3.6.1 Apache Commons Math is a library of lightweight, self-contained mathematics and statistics components addressing the most common problems not available in the Java programming language or Commons Lang.

Re: [math] Staging site

2016-03-23 Thread Evan Ward
03/22/2016 09:59 AM, Gilles wrote: > On Mon, 21 Mar 2016 20:14:41 +0100, Thomas Neidhart wrote: >> On 03/21/2016 07:32 PM, Evan Ward wrote: >>> Hi, >>> >>> I'm on step 19 in Release.howto.txt, I've committed the updated site >>> using

[math] Staging site

2016-03-21 Thread Evan Ward
Hi, I'm on step 19 in Release.howto.txt, I've committed the updated site using svn, but I get a 404 when I try to view it at http://commons.staging.apache.org/proper/commons-math Any ideas what I'm doing wrong? I've noticed that the staging URL for other components such as [lang] or [io] also

Re: [math] Fwd: Please add your release data for 'commons'

2016-03-21 Thread Evan Ward
Thanks Luc! On 03/21/2016 11:48 AM, Luc Maisonobe wrote: > Le 21/03/2016 13:54, Evan Ward a écrit : >> Hi, >> >> Can a Math PMC member add our release data to the database? I don't have >> the necessary permissions. > Now that we have 3 PMC, I have updated th

Re: [VOTE][RRESULT][RC1] Release Commons Math 3.6.1

2016-03-21 Thread Evan Ward
On 03/21/2016 09:18 AM, Luc Maisonobe wrote: > Le 21/03/2016 13:44, Evan Ward a écrit : >> The vote passes with three votes in favor and none against. > Well, in fact I am not sure it passes yet ... > > As far as I know, there are only 2 PMC members who voted: Oliver and mys

[math] Fwd: Please add your release data for 'commons'

2016-03-21 Thread Evan Ward
Hi, Can a Math PMC member add our release data to the database? I don't have the necessary permissions. Thanks, Evan Forwarded Message Subject:Please add your release data for 'commons' Date: Mon, 21 Mar 2016 12:48:51 + From: Apache Reporter Service

[VOTE][RRESULT][RC1] Release Commons Math 3.6.1

2016-03-21 Thread Evan Ward
gt;> but this is not blocking. >> >> So +1 >> >> Oliver >> >> Am 17.03.2016 um 20:06 schrieb Evan Ward: >>> This is a [VOTE] for releasing Apache Commons Math 3.6.1 from release >>> candidate 1. >>> >>> Tag name: >>> M

Re: [VOTE][RC1] Release Commons Math 3.6.1

2016-03-19 Thread Evan Ward
On 03/17/2016 03:06 PM, Evan Ward wrote: > > > > > > > > This is a [VOTE] for releasing Apache Commons Math 3.6.1 from > release candidate 1. > > > > Tag name: > > MATH_3_6_1_RC1 (signature can be checked from git using 'git tag > -v') > &

Re: [math] Fix for MATH-1342

2016-03-19 Thread Evan Ward
On 03/16/2016 05:18 PM, luc wrote: > Le 2016-03-16 20:13, Evan Ward a écrit : >> Hi, > > Hi Evan, > >> >> First, I'm trying to use the new branching strategy so I would >> appreciate your patience if I'm not doing correctly. >> >> I'v

[math] Fix for MATH-1342

2016-03-19 Thread Evan Ward
Hi, First, I'm trying to use the new branching strategy so I would appreciate your patience if I'm not doing correctly. I've commited a fix for MATH-1342 in commit 7a8dc00. This is a problem with event detection in all ODE integrators. So if the list approves I would like to merge this into the

[VOTE][RC1] Release Commons Math 3.6.1

2016-03-18 Thread Evan Ward
This is a [VOTE] for releasing Apache Commons Math 3.6.1 from release candidate 1. Tag name: MATH_3_6_1_RC1 (signature can be checked from git using 'git tag -v') Tag URL: https://git-wip-us.apache.org/repos/asf?p=commons-math.git;a=tag;h=e40b144832c0e138b185c92326588a087e00909c Commit ID

Re: [math] ConvergenceChecker

2016-02-08 Thread Evan Ward
Hi Ole, On 02/05/2016 06:40 PM, Ole Ersoy wrote: > > > On 02/05/2016 04:42 PM, Evan Ward wrote: >> Yes, I use it. In some cases it is useful to watch the RMS residuals > So if it were modularized and supported logging then this might > satisfy the same requirement? I'm not

Re: [math] ConvergenceChecker

2016-02-05 Thread Evan Ward
Yes, I use it. In some cases it is useful to watch the RMS residuals, in other cases to watch the change in the states. I think it is there from an acknowledgement that we can't enumerate all possible convergence criteria, so we provide a way for the user to define their own. Regards, Evan On

Re: [math] [POLL] new TLP name

2016-02-01 Thread Evan Ward
I would prefer Apache Epsilon or Apache Math. -Evan On 02/01/2016 12:06 PM, Phil Steitz wrote: > Please select your top choice among the following suggested names > for the new [math]-based TLP. All are welcome and encouraged to > respond. This POLL will be open for 72 hours, at which time two

Re: [Math] Java version

2015-01-15 Thread Evan Ward
From an API perspective we can design a functional programming API in Java 7, it will just be more verbose than in Java 8. One unique feature that Java 8 does bring is multiple inheritance. Now that interfaces can have method implementations classes can inherit methods from multiple super classes.

[math] Least Squares Outlier Rejection

2014-09-11 Thread Evan Ward
Hi, A while ago I had bought up the idea of adding residual editing (aka data editing, outlier rejection, robust regression) to our non-linear least squares implementations.[1] As the name suggests, the idea is to de-weight observations that don't match the user's model. There are several ways to

Re: [RESULT] [VOTE] Migrate Commons Math to Git

2014-09-10 Thread Evan Ward
from Gary Gregory Thomas Niedhart Evan Ward Gilles Sadowski (changed from -1 to +1) * Luc Maisonobe Venkatesha M +0 from Benedikt Ritter and no other votes. Thanks! Phil - To unsubscribe, e-mail: dev-unsubscr

Re: [math] Side effect of LevenbergMarquardtOptimizer

2014-09-08 Thread Evan Ward
. For non-linear least squares you already need an accurate initial guess, though I could see the convergence region being different between the two methods. Have you tried it? Best Regards, Evan Thanks, Olexiy -Original Message- From: Evan Ward [mailto:evan.w...@nrl.navy.mil] Sent

Re: [math] Side effect of LevenbergMarquardtOptimizer

2014-09-08 Thread Evan Ward
, Evan Ward wrote: Hi Olexiy, In my field we often encounter a similar problem when estimating attitude since a quaternion is only a valid rotation when it is normalized. We often escape this issue by estimating a small adjustment to an apriori guess. (For the details see [1

Re: [math] Side effect of LevenbergMarquardtOptimizer

2014-09-08 Thread Evan Ward
the point to a list for later retrieval. What do you think? Best Regards, Evan On 09/08/2014 11:13 AM, Gilles wrote: Hello. On Mon, 8 Sep 2014 08:56:36 -0400, Evan Ward wrote: Gilles, I like this approach. My only thought is that a separate interface for the validate method would

Re: [math] Side effect of LevenbergMarquardtOptimizer

2014-09-08 Thread Evan Ward
On 09/08/2014 12:06 PM, Gilles wrote: On Mon, 8 Sep 2014 11:50:43 -0400, Evan Ward wrote: I was suggesting (though not clearly :) keeping the MultivariateJacobianFunction interface as is and adding a new interface for any post processing of the evaluated point. Isn't it rather pre

Re: [math] Side effect of LevenbergMarquardtOptimizer

2014-09-04 Thread Evan Ward
Hi Olexiy, In my field we often encounter a similar problem when estimating attitude since a quaternion is only a valid rotation when it is normalized. We often escape this issue by estimating a small adjustment to an apriori guess. (For the details see [1].) For this technique to work the cost

Re: [VOTE] Migrate Commons Math to Git

2014-07-22 Thread Evan Ward
+1 Evan On 07/22/2014 03:16 PM, Thomas Neidhart wrote: On 07/22/2014 07:01 PM, Phil Steitz wrote: Looks like other projects are running VOTEs to ensure there is consensus for this action and including references to VOTE threads in INFRA JIRAs. Lets do this. The action I am proposing is

Re: [math] git svn setup

2014-05-30 Thread Evan Ward
On 05/30/2014 05:56 AM, Luc Maisonobe wrote: Le 30/05/2014 00:39, Mark Thomas a écrit : On 29/05/2014 23:16, Evan Ward wrote: Hi, I'm trying to setup write access for the clone I have of the github [math] repository. I thought that since every commit in that repository already had a git

[math] git svn setup

2014-05-29 Thread Evan Ward
Hi, I'm trying to setup write access for the clone I have of the github [math] repository. I thought that since every commit in that repository already had a git-svn-id it would be relatively easy, so I ran git svn init and git svn fetch. But the fetch has been running for ~5 hours now and seems

Re: [VOTE] Release Math 3.3 based on RC1

2014-04-29 Thread Evan Ward
Hi Thomas, I noticed that the user guide is using deprecated classes in the examples for least squares optimization. Do we want to update the user guide to help new users find/understand the new API? Best Regards, Evan On 04/29/2014 04:07 PM, Thomas Neidhart wrote: Hi all, I would like to

Re: [math] fitting.leastsquares and stat.regression

2014-03-04 Thread Evan Ward
. In any case, we should discuss on the ML. Least squares statistical data editing -- Key: MATH-1105 URL: https://issues.apache.org/jira/browse/MATH-1105 Project: Commons Math Issue Type: Improvement Reporter: Evan Ward Attachments: 0001-Add-statistical

Re: [math] refactoring least squares

2014-02-25 Thread Evan Ward
On 02/24/2014 05:47 PM, Gilles wrote: On Mon, 24 Feb 2014 14:41:34 -0500, Evan Ward wrote: On 02/24/2014 01:23 PM, Gilles wrote: On Mon, 24 Feb 2014 11:49:26 -0500, Evan Ward wrote: One way to improve performance would be to provide pre-allocated space for the Jacobian and reuse it for each

Re: [math] refactoring least squares

2014-02-24 Thread Evan Ward
I've looked into improving performance further, but it seems any further improvements will need big API changes for memory management. Currently using Gauss-Newton with Cholesky (or LU) requires 4 matrix allocations _each_ evaluation. The objective function initially allocates the Jacobian

Re: [math] refactoring least squares

2014-02-24 Thread Evan Ward
On 02/24/2014 01:23 PM, Gilles wrote: On Mon, 24 Feb 2014 11:49:26 -0500, Evan Ward wrote: One way to improve performance would be to provide pre-allocated space for the Jacobian and reuse it for each evaluation. Do you have actual data to back this statement? I did some tests

Re: [math] refactoring least squares

2014-02-24 Thread Evan Ward
On 02/24/2014 02:18 PM, Ted Dunning wrote: On Mon, Feb 24, 2014 at 10:23 AM, Gilles gil...@harfang.homelinux.org mailto:gil...@harfang.homelinux.org wrote: One way to improve performance would be to provide pre-allocated space for the Jacobian and reuse it for each

Re: [math] refactoring least squares

2014-02-20 Thread Evan Ward
On Thu 20 Feb 2014 08:34:19 AM EST, Gilles wrote: Hi. On Thu, 20 Feb 2014 10:05:58 +0100, luc wrote: Hi all, I am looking more precisely at the least squares package and have a few adjustments to propose. The Evaluation interface declares a computeValue and a computeJacobian method

Re: [math] refactoring least squares

2014-02-18 Thread Evan Ward
On 02/18/2014 09:51 AM, luc wrote: Hi all, As you have probably noticed, I have committed the changes proposed by Evan. This ends up to about 20 different commits, as I have tried to stick with the progressive changes he made in his Github repository. Some of the initial commits do not

Re: [math] leastsquares refactoring

2014-02-14 Thread Evan Ward
On 02/13/2014 12:19 PM, Gilles wrote: Hello Luc. On Thu, 13 Feb 2014 16:10:36 +0100, Luc Maisonobe wrote: Hi Gilles, Le 08/02/2014 22:16, Gilles a écrit : Other issues to be discussed: * [MATH-1008] a new package has been created o.a.c.m.fitting.leastsquares which contains

Re: [COLLECTIONS] CollectionUtils.adapterCollection(CollectionE, TransformerA)?

2013-09-19 Thread Evan Ward
Hi John, I've attached my form. Thanks, Evan On Wed 18 Sep 2013 09:23:10 PM EDT, Bruno P. Kinoshita wrote: True, maybe with EachElement and a Procedure [1], or maybe IteratorToGeneratorAdapter, or something similar to the ArrayListBackedAggregator and some custom function :) Or maybe with

Re: [math] fluent API for the ODE integrators

2013-09-17 Thread Evan Ward
Hi Luc, On Mon 16 Sep 2013 12:04:21 PM EDT, Luc Maisonobe wrote: Hello, I have started (at last) to work on the fluent API for ODE integrators. It seems to be well suited for the needs, and would allow a better separation of the integrator engine and the integrator state. The engine will

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Evan Ward
On 08/27/2013 07:27 AM, Gilles wrote: Hi. Sorry but the _main_ question of my previous post was... On Mon, 26 Aug 2013 16:35:51 -0400, Evan Ward wrote: On 08/26/2013 03:33 PM, Gilles wrote: On Mon, 26 Aug 2013 13:59:32 -0400, Evan Ward wrote: Hi again, I rearranged the least squares

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Evan Ward
On 08/26/2013 03:11 PM, Konstantin Berlin wrote: I looked only at the GuassNewton class as a general guide to how things work. I like it a lot! I only wish all of the optimizations were rewritten in this way. Several comments 1) I believe this code can now be simplified // build the

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Evan Ward
On 08/27/2013 08:44 AM, Evan Ward wrote: On 08/27/2013 07:27 AM, Gilles wrote: Hi. Sorry but the _main_ question of my previous post was... On Mon, 26 Aug 2013 16:35:51 -0400, Evan Ward wrote: On 08/26/2013 03:33 PM, Gilles wrote: On Mon, 26 Aug 2013 13:59:32 -0400, Evan Ward wrote: Hi

Re: [MATH] Re: commons-math pull request: Two implementations of least squares in separeat...

2013-08-27 Thread Evan Ward
Using https://github.com/apache/commons-math/pull/2.diff and `patch -p1 2.diff` worked for me. (On top of svn r1517789) I've also attached the modified files to https://issues.apache.org/jira/browse/MATH-1026 Regards, Evan On Tue 27 Aug 2013 12:35:48 PM EDT, Gilles wrote: On Tue, 27 Aug

Re: [Math] Fluent API, inheritance and immutability

2013-08-27 Thread Evan Ward
On 08/27/2013 12:35 PM, Konstantin Berlin wrote: Sorry, I think there was a misunderstanding. I was suggesting, like you are pointing out, that you make a newton step function explicit inside the optimizer. I think it is a good idea that this function is explicit in all optimizers, so it can

Re: [Math] Fluent API, inheritance and immutability

2013-08-26 Thread Evan Ward
Hi again, I rearranged the least squares package and I've posted the results.[1] I've also created a pull request[2] and an associated issue.[3] [1] https://github.com/wardev/commons-math/tree/sepOpt [2] https://github.com/apache/commons-math/pull/1 [3]

Re: [Math] Fluent API, inheritance and immutability

2013-08-26 Thread Evan Ward
On 08/26/2013 03:33 PM, Gilles wrote: On Mon, 26 Aug 2013 13:59:32 -0400, Evan Ward wrote: Hi again, I rearranged the least squares package and I've posted the results.[1] I've also created a pull request[2] and an associated issue.[3] [1] https://github.com/wardev/commons-math/tree/sepOpt

Re: [jira] [Created] (MATH-1024) LU and QR have different default singularity thresholds

2013-08-23 Thread Evan Ward
On 08/21/2013 06:00 PM, Gilles wrote: Hi. On Wed, 21 Aug 2013 18:23:52 + (UTC), Evan Ward (JIRA) wrote: Evan Ward created MATH-1024: --- Summary: LU and QR have different default singularity thresholds Key: MATH-1024

Re: Need for an alternatives to the main line of code.

2013-08-22 Thread Evan Ward
I agree with James that this is a problem that git has already solved. For the changes I'm working on I have already cloned from the git mirror and plan to upload the patch as a fork + pull request on github. I think the branchyness of distributed version control makes it easy to have several

Re: [Math] Fluent API, inheritance and immutability

2013-08-20 Thread Evan Ward
Hi all, Sorry for the delay. I'll try switching all of the least squares package to the new/seperable API and post the results to github. From there we can review, discuss and then decide if it makes sense to switch the rest of the optimizers. On 08/15/2013 09:12 AM, Konstantin Berlin wrote:

Re: [Math] Fluent API, inheritance and immutability

2013-08-14 Thread Evan Ward
On 08/14/2013 11:30 AM, Gilles wrote: On Tue, 13 Aug 2013 17:47:18 -0400, Evan Ward wrote: On 08/13/2013 08:17 AM, Gilles wrote: (I.e. GN would not need 5 superclasses and fields for storing upper and lower bounds.) Be careful: GaussNewtonOptimizer does _not_ support bounds! That is my

Re: [Math] Fluent API, inheritance and immutability

2013-08-14 Thread Evan Ward
Hi, On 08/14/2013 12:23 PM, Konstantin Berlin wrote: Since I have no idea what you guys are describing, could you guys please do something like this? Or at least put rough outlines of the interfaces and classes somewhere, so other people can evaluate? The *rough* interfaces and classes of my

Re: [Math] Fluent API, inheritance and immutability

2013-08-13 Thread Evan Ward
On 08/13/2013 08:17 AM, Gilles wrote: (I.e. GN would not need 5 superclasses and fields for storing upper and lower bounds.) Be careful: GaussNewtonOptimizer does _not_ support bounds! That is my point! Because of it's complex inheritance every instance includes fields for storing bounds

Re: [Math] Fluent API, inheritance and immutability

2013-08-12 Thread Evan Ward
On 08/09/2013 06:55 PM, Gilles wrote: [...] This does make it important to decide on a well written and complete API before releasing it. When the scope of the software is well circumscribed, that would be possible. With the whole of [Math]ematics, much less so. :-} And state-of-the-art

Re: [Math] Fluent API, inheritance and immutability

2013-08-12 Thread Evan Ward
On 08/12/2013 12:19 PM, Phil Steitz wrote: On 8/12/13 9:04 AM, Evan Ward wrote: On 08/09/2013 06:55 PM, Gilles wrote: [...] This does make it important to decide on a well written and complete API before releasing it. When the scope of the software is well circumscribed, that would

Re: [Math] Fluent API, inheritance and immutability

2013-08-08 Thread Evan Ward
Hi again, Sorry for the confusion my code sample caused; it made sense in my mind. :) I was speaking from the perspective that an abstract class is a skeletal implementation of an interface, created so that implementing the interface is easier. For the non-linear least squares (NLLS) package I

[Math] Fluent API, inheritance and immutability

2013-08-08 Thread Evan Ward
Gilles wrote: To address a few concerns I saw, Gilles wrote: In this way, it does not; what I inferred from the partial code above was that there would only be _one_ create method. But: 1. All create methods must be overridden at the next level of the class hierarchy (this is the

[Math] Fluent API, inheritance and immutability

2013-08-07 Thread Evan Ward
Hi, As a grateful user of the library, I would prefer the Fluent API and immutability. I have implemented this pattern in some of my own projects and it makes the API very easy to use. Most of the time, when the interface is small, inheritance isn't really necessary and I just implement the