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 902F517B69 for ; Mon, 6 Apr 2015 20:48:47 +0000 (UTC) Received: (qmail 40421 invoked by uid 500); 6 Apr 2015 20:48:47 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 40273 invoked by uid 500); 6 Apr 2015 20:48:47 -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 40258 invoked by uid 99); 6 Apr 2015 20:48:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 20:48:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phil.steitz@gmail.com designates 209.85.192.176 as permitted sender) Received: from [209.85.192.176] (HELO mail-pd0-f176.google.com) (209.85.192.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 20:48:21 +0000 Received: by pddn5 with SMTP id n5so55529193pdd.2 for ; Mon, 06 Apr 2015 13:46:49 -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=0+4O5VchemGCYV9FtlNRhrhlAcrZ/zV1FE+65Y9z6sc=; b=SHKaMzTHtBAFI3hYAwMVSrgLk4Z0HO1XGqU1QRmbdAk9FEhQyATlVFHEKPdO/TdpQw rr5mnWD7J4aEm0+e4mgt9bdYoBBozwS5xttIYcOexRtWFq8o9yFjBTl/GO4lDEKtQ4zF OQ5UYTJaxsnCkXGjJt4DzLBllstO+KtHp4n9Kwd6hewPEA6Ffp8SlkepEGhrpsIeexsv wNeJZuX8fJd2t1Pgt/0P6DgYuHh6toQW4ymOpBTi4EcEm/fkIzpajuR+O4tMYSgX3zPe eMmgYJpUXd99dJfcGAzlJqFtAOjFzkwnr05R9VUZ/uSoT8x/A6iea8OyXsp8NiyVG72m oEqQ== X-Received: by 10.70.1.227 with SMTP id 3mr30090313pdp.110.1428353209615; Mon, 06 Apr 2015 13:46:49 -0700 (PDT) Received: from psteitz-mbp.local ([67.133.165.2]) by mx.google.com with ESMTPSA id dl2sm5604961pbc.28.2015.04.06.13.46.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Apr 2015 13:46:47 -0700 (PDT) Message-ID: <5522F0B6.1090808@gmail.com> Date: Mon, 06 Apr 2015 13:46:46 -0700 From: Phil Steitz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Commons Developers List Subject: Re: [math] Apachecon slides References: <551C2A98.804@gmail.com> <55219A1E.3080006@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 4/6/15 6:19 AM, Gilles wrote: > Hi Phil. > > On Sun, 05 Apr 2015 13:25:02 -0700, Phil Steitz wrote: >> Thanks for the feedback and contributions! >> >> I added a disclaimer making it clear that the challenges / lessons >> learned stuff was just one contributor's view. The content is now >> pretty much complete (unless someone has some awesome better example >> I can swap in). I would appreciate a review of the completed >> optimization slides and both the final challenges and lessons >> learned slides. I will wait a few days to upload the slides so I >> can clean them up some more and incorporate any feedback I get. >> >> Anyone who wants to review but does not want to fuss with >> tex/beamer, shoot me a note and I will cut a pdf based on master >> when I get the request. > > After this: > > ---CUT--- > public PAIR optimize(OptimizationData... optData) > ---CUT--- > > you could perhaps add one or two slides (to indicate the current > state of affairs and what remains to be implemented for the next > major release); something along the following lines: > > ---CUT--- > Decision: Refactor of all classes in "o.a.c.m.optim" > > * Phase out "OptimizationData" > * Use "fluent" API > * Separate optimization problem from optimization procedure > > New ideas (brought forward by our most recent committer, Evan Ward) > experimented on least-squares optimizers: > * LevenbergMarquardtOptimizer > * GaussNewtonOptimizer > > New classes/interfaces in "o.a.c.m.fitting.leastsquares": > * LeastSquaresProblem and LeastSquaresProblem.Evaluation > * LeastSquaresOptimizer and LeastSquaresOptimizer.Optimum > * LeastSquaresFactory > * LeastSquaresBuilder > * LevenbergMarquardtOptimizer > * GaussNewtonOptimizer > * AbstractEvaluation > * ... > > Usage: > > final LeastSquaresProblem problem = LeastSquaresFactory.create( /* > ... */ ); > final LeastSquaresOptimizer optim = new > LevenbergMarquardtOptimizer( /* ... */ ); > final Optimum result = optim.optimize(problem); > > Yet to be done (before next major release?): Refactor all the > other optimizers. > ---CUT--- > > > Regards, > Gilles Thanks, Gilles! I added two slides with only slight editing of the above. Thanks again for reviewing. Phil > >> Phil >> >> On 4/1/15 10:27 AM, Phil Steitz wrote: >>> Starting with Thomas and Gilles' tex setup from FOSDEM 2013, I have >>> started creating slides for my talk in a couple of weeks at >>> Apachecon NA [1]. The basic idea is to combine an overview and >>> quick examples with some discussion of the many design and >>> implementation challenges that we have faced. I have put the tex >>> sources on github [2] and would appreciate any comments or just PRs >>> there. There is a make file (thanks, Thomas!) that creates a pdf >>> from the sources and also has a clean target to clean up cruft. >>> You >>> need to have beamer installed for the build to work. >>> >>> The content looks like too much for 50 mins, but I can fly through >>> most of it, so don't be discouraged to provide more examples. I >>> can >>> also swap out some of the ones that are there. I have also >>> obviously not made it look pretty yet. Patches of all kinds >>> welcome >>> :) My goal is to have the slides complete and uploaded to LF by >>> the >>> end of this weekend. >>> >>> Thanks in advance for review / feedback. Its probably best to >>> provide the feedback on github. If we get into any code >>> discussions, we can take things back here. >>> >>> Phil >>> [1] http://sched.co/2P9O >>> [2] https://github.com/psteitz/apachecon-2015-commons-math.git >>> > > > > --------------------------------------------------------------------- > 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