[SciPy-user] Proposal for more generic optimizers

Matthieu Brucher matthieu.brucher@gmail....
Tue Feb 27 10:13:46 CST 2007


Thanks for the tip :)
I wonder the saveParamaters could be avoided by using a default list that
does nothing - append does nothing -, and pepole could add a container
defining a "append" method. That would save a test as well.

Matthieu

2007/2/27, Alan G Isaac <aisaac@american.edu>:
>
> On Tue, 27 Feb 2007, Matthieu Brucher apparently wrote:
> > Optimizer* optimizer = StandardOptimizer</*some more
> > parameters not relevant
> > in Python*/(function, GradientStep(), SimpleCriterion(NbMaxIterations),
> > step, saveParameters);
> > optimizer->optimize();
> > optimizer->getOptimalParameters();
>
> Seems like a good approach.
> (Put step and saveParameters in a keyword dict.)
>
> Cheers,
> Alan Isaac
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070227/f3dfbbdf/attachment.html 


More information about the SciPy-user mailing list